Commit graph

66366 commits

Author SHA1 Message Date
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
Hermès Bélusca-Maïto 13b28424d8 [APITESTS]: Add a test for advapi32!IsTextUnicode.
CORE-11803

svn path=/trunk/; revision=72148
2016-08-07 16:35:56 +00:00
Thomas Faber 1d2d985d11 [FASTFAT]
- Update FCB hashes after changing the path name
CORE-11377

svn path=/trunk/; revision=72147
2016-08-07 14:24:45 +00:00
Dmitry Chapyshev 85915846eb [INPUT]
- Create an empty project for re-working keyboard layouts management

svn path=/trunk/; revision=72146
2016-08-07 13:07:23 +00:00
Pierre Schweitzer 2f3c2c58d2 [FASTFAT]
After renaming a directory, rename any children FCB that would still exist in the FSD. This will allow next directory opening to properly work and open correct data.
This defeats corruption on directory renaming.
Unfortunately, this solution is not ideal and our driver should be reworked so that it quits using a hash table and it quits storing the whole path in the FCBs.

Deep thanks to Wim Hueskes and Thomas Faber for their help debugging the issue!

CORE-11377

svn path=/trunk/; revision=72145
2016-08-07 12:29:48 +00:00
Thomas Faber bf98b09370 [NTOS:CC]
- Define CcPfEnablePrefetcher
CORE-11799

svn path=/trunk/; revision=72144
2016-08-07 07:00:56 +00:00
Dmitry Chapyshev bc10137a10 [KBSWITCH]
- Use strsafe functions
- Use Shell Hooks in dll for detecting keyboard layout switching
- Fix bug in loading kbsdll

* Detection switch keyboard layout is now working in Windovs, but does not work in ReactOS (WH_SHELL not work in win32k)

svn path=/trunk/; revision=72143
2016-08-06 20:48:33 +00:00
Dmitry Chapyshev a32f426a76 [WIN32K]
- Detect Alt+Shift hotkeys and send input language change request message to window

* Switching the keyboard layout works now. The code needs to be improved

svn path=/trunk/; revision=72142
2016-08-06 17:43:57 +00:00
Eric Kohl e6597810f6 [LSASRV]
Move ServiceInit() into a separate file.

svn path=/trunk/; revision=72141
2016-08-06 17:07:59 +00:00
Hermès Bélusca-Maïto 3027d2e22f [EVENTVWR]
Don't hardcode a fixed size for the memory buffer holding the event details data to be copied into the clipboard, but instead compute it using the real lengths of the different strings. Use also StringCbPrintfW instead.

svn path=/trunk/; revision=72140
2016-08-06 16:21:02 +00:00
Eric Kohl bbedf68e82 [LSASRV]
Implement LsarAddAccountRigths and fix some bugs along the way:
- LsarGetSystemAccessAccount: Fix an uninitialized varable.
- LsarOpenAccount, LsarCreateAccount: Make these functions wrappers around the real implementation in LsarpCreateAccount and LsarpOpenAccount.
- LsarEnumerateAccountRights: Fix the use of the wrong array index.
- LsarAddAccountRights: Implement it.
- LsarpLookupPrivilegeValue: Return a pointer to an LUID instead of an NTSTATUS. It is much earier to use it this way.
- LsapLookupAccountRightValue: Implement it.


svn path=/trunk/; revision=72139
2016-08-06 15:07:41 +00:00
Thomas Faber 0cd0cc28ff [NTOS:MM][USER32]
- Correctly handle/avoid C99-style inline semantics
CORE-11794

svn path=/trunk/; revision=72138
2016-08-06 15:04:08 +00:00
Thomas Faber a946a97f6b [WS2_32_NEW]
- Fix always true conditions in ComputeQuerySetSize
CORE-11799

svn path=/trunk/; revision=72137
2016-08-06 12:58:32 +00:00
Pierre Schweitzer 3a66592294 [FASTFAT]
Properly check for opened handles in subdirectories when we're about to rename a directory.
This helps reducing corruption where some renaming operations were allowed whereas they shouldn't have been.

CORE-11377
CORE-11426

svn path=/trunk/; revision=72136
2016-08-06 12:25:47 +00:00
Thomas Faber 22d54fcfa8 [SYSDM]
- Less ambiguously check the return value of DialogBoxParam
CORE-11794

svn path=/trunk/; revision=72135
2016-08-06 12:15:16 +00:00
Thomas Faber 62af010479 [WIN32K:NTUSER]
- Add some missing VOIDs
CORE-11799

svn path=/trunk/; revision=72134
2016-08-06 12:07:54 +00:00
Amine Khaldi 23b8928f06 [INCLUDE/CRT] Correct _wctime and _wctime_s when _USE_32BIT_TIME_T is defined. CORE-11799
svn path=/trunk/; revision=72133
2016-08-06 10:35:53 +00:00
Amine Khaldi adbe2036e0 [CRT] Correct some types. CORE-11799
svn path=/trunk/; revision=72132
2016-08-06 10:18:08 +00:00
Amine Khaldi 35c9147919 [WIN32DLLS] We don't need mingwex for these modules anymore. CORE-11799
svn path=/trunk/; revision=72131
2016-08-06 09:53:47 +00:00
Amine Khaldi 603f35f918 [NTOS:MM] Add some missing VOIDs. CORE-11799
svn path=/trunk/; revision=72130
2016-08-06 09:34:39 +00:00
Amine Khaldi 9f5c4f5a29 [DIRECTX/WINE] We don't need mingwex for these anymore. CORE-11799
svn path=/trunk/; revision=72129
2016-08-06 09:32:45 +00:00
Amine Khaldi b7565d1023 [NTOS:PNPMGR] Mark IopReportTargetDeviceChangeAsyncWorker as stdcall and remove the PWORKER_THREAD_ROUTINE cast. CORE-11799
svn path=/trunk/; revision=72128
2016-08-06 09:11:08 +00:00
Thomas Faber 88b195195f [NTOS:MM]
- Correctly check for overflow in PeFmtCreateSection
CORE-11794

svn path=/trunk/; revision=72127
2016-08-06 09:07:03 +00:00
Pierre Schweitzer 29270756ea [FASTFAT]
Don't mess with parentless FCB.
Dedicated to Thomas :-).

CORE-11377
CORE-11426

svn path=/trunk/; revision=72126
2016-08-06 08:57:47 +00:00
Pierre Schweitzer bf24a57417 [FASTFAT]
Addendum to r72124

svn path=/trunk/; revision=72125
2016-08-06 08:32:17 +00:00
Pierre Schweitzer ccacd0b3f1 [FASTFAT]
Track child FCB in parent FCB to allow browsing them in case it's needed.
This allows fixing a FIXME and offering better performances when renaming a directory.

CORE-11377
CORE-11426

svn path=/trunk/; revision=72124
2016-08-06 08:30:30 +00:00
Amine Khaldi 60c0a0a00d [CALC] We don't need mingwex anymore. CORE-11799
svn path=/trunk/; revision=72123
2016-08-06 08:26:54 +00:00
Amine Khaldi 5c9fcf98d1 [NTDLL] Add missing VOID. CORE-11799
svn path=/trunk/; revision=72122
2016-08-06 08:18:11 +00:00
Thomas Faber be4ad0b096 [ARP]
- Do not return failure after successful operations
CORE-11794

svn path=/trunk/; revision=72121
2016-08-06 07:57:51 +00:00
Thomas Faber 933a038005 [CMD][UXTHEME]
- Clarify misleading indentation
CORE-11794

svn path=/trunk/; revision=72120
2016-08-06 07:08:52 +00:00
Thomas Faber 6feaa4a628 [CRT]
- Apply Wine commit b7f6362d (msvcrt: Use the correct object type for __non_rtti_object exceptions.) by Alexandre Julliard
CORE-11794

svn path=/trunk/; revision=72119
2016-08-06 06:52:41 +00:00
Thomas Faber 3e8de0c105 [CRT]
- Remove pointless inline
CORE-11794

svn path=/trunk/; revision=72118
2016-08-05 21:33:54 +00:00
Hermès Bélusca-Maïto b515da6e1e [COMCTL32]: Addendum to r72116: Add the __REACTOS__ ifdefs to ease wine syncing, and update the patch in accordance.
CORE-11532

svn path=/trunk/; revision=72117
2016-08-05 17:45:34 +00:00
Giannis Adamopoulos c515594b02 [COMCTL32]
- rebar: actually pass the hittest flag to the NM_NCHITTEST notification.
CORE-11532

svn path=/trunk/; revision=72116
2016-08-05 17:16:22 +00:00
Hermès Bélusca-Maïto 9a2f59499f [FASTFAT_NEW]: Fix add_pch command usage.
svn path=/trunk/; revision=72115
2016-08-05 11:54:48 +00:00
Pierre Schweitzer 0929932490 [NET/USE]
Always delete remembered connections on /delete

ROSAPPS-303

svn path=/trunk/; revision=72114
2016-08-05 10:58:09 +00:00
Pierre Schweitzer 751ace6d12 [FASTFAT]
Refactor vfatMakeFCBFromDirEntry() and vfatUpdateFCB() so that they share code. It will help avoiding wild FCB modifications on renaming.

CORE-11377

svn path=/trunk/; revision=72113
2016-08-05 10:48:01 +00:00
Giannis Adamopoulos 359bec99e3 [EXPLORER]
- Fix subclassing the tasks toolbar which was broken in r65274. 
CORE-11532

svn path=/trunk/; revision=72111
2016-08-05 09:06:30 +00:00
Mark Jansen 49fc85553f [ATL][ATL_APITEST] Add implementation + tests for most functions from CPoint, CSize, CRect. CORE-11747 #resolve
Not all functions are implemented, the ones that are not implemented are left in a comment in the header.

svn path=/trunk/; revision=72110
2016-08-04 19:15:21 +00:00