Commit graph

69416 commits

Author SHA1 Message Date
Pierre Schweitzer b7661c5a63 [NFS]
Make hack introduced in r75415 more verbose.

CORE-8204
CORE-11327

svn path=/trunk/; revision=75483
2017-08-04 19:43:42 +00:00
Pierre Schweitzer 29a235cb9b [RDBSS]
Implement RxSetDispositionInfo(): this allows deleting files on a remote NFS share!

CORE-8204
CORE-11327
CORE-13636

svn path=/trunk/; revision=75482
2017-08-04 19:23:42 +00:00
Pierre Schweitzer 6afca05215 [RDBSS]
On cleanup, only take the quick path if the file was already orphaned

CORE-11327

svn path=/trunk/; revision=75481
2017-08-04 19:18:42 +00:00
Pierre Schweitzer e010523b86 [RXCE]
In RxRemoveNameNetFcb(), check if name was already removed. MS doesn't do this, but as we use double linked-list macros
that perform extra sanity checks, this is required. This can be called twice for a single FCB.

CORE-11327
CORE-13632
CORE-13636

svn path=/trunk/; revision=75480
2017-08-04 19:05:11 +00:00
Pierre Schweitzer ebe9e0bce0 [KERNEL32]
Don't leak a handle when renaming a source file which is a MS mount point or a file without the reparse attribute while we can query its reparse information.

CORE-13635

svn path=/trunk/; revision=75478
2017-08-04 12:18:52 +00:00
Giannis Adamopoulos 2dd61864ba [hivecls.inf] -Add an option to immediately enable an msstyles file with right click.
svn path=/trunk/; revision=75477
2017-08-04 09:12:33 +00:00
Giannis Adamopoulos e5733424ba [DESK.CPL]
-Improve the hack that lets it process arguments by using the process command line instead of the one shell32 gives to the cpl.
-Implement a new action called ActivateMSTheme that activates an msstyle file without showing any gui. If no file is passed, the classic theme is activated thus making it possible to switch themes from command line (or any other application may need to switch themes by launching desk.cpl).

svn path=/trunk/; revision=75476
2017-08-04 08:53:06 +00:00
Mark Jansen 7b06ed4395 [RAPPS] Remove Burnaware free. CORE-12194 #resolve
svn path=/trunk/; revision=75475
2017-08-03 20:52:01 +00:00
Pierre Schweitzer eae32333ca [RDBSS]
Don't attempt to dereference NULL-ptr if CCB isn't set.
Fixes crash in RxFsdCommonDispatch() under rare circumstances.

CORE-11327

svn path=/trunk/; revision=75474
2017-08-03 20:47:41 +00:00
Pierre Schweitzer 62806dc561 [RXCE]
In spite of what its name may look like: SyncEvent is a notification event, not a sync event.
Use the correct event for synchronization. This avoids infinite wait in certain circumstances in RxScavengeFobxsForNetRoot()

CORE-11327

svn path=/trunk/; revision=75473
2017-08-03 20:23:39 +00:00
Hermès Bélusca-Maïto d767b361d2 [FREELDR][INFLIB]: It is perfectly correct to retrieve the field of index == 0 of an INF line, by using the InfGetStringField() helper (corresponding to the SetupGetStringField() API).
svn path=/trunk/; revision=75472
2017-08-03 14:56:07 +00:00
Pierre Schweitzer 54bb40541b [RXCE]
Make code that deals with DBG stuff only built in DBG builds

CORE-11327
CORE-13610

svn path=/trunk/; revision=75468
2017-08-01 18:04:18 +00:00
Thomas Faber 1332e273a2 [ACPICA]
- Update to version 20170728
CORE-13625 #resolve

svn path=/trunk/; revision=75467
2017-08-01 09:11:52 +00:00
Pierre Schweitzer be6eed4f49 [RDBSS]
For non dbg builds, don't implement macro defined functions RxCheckShareAccess(), RxRemoveShareAccess(), RxSetShareAccess(), RxUpdateShareAccess()

CORE-11327
CORE-13610

svn path=/trunk/; revision=75465
2017-08-01 06:35:20 +00:00
Giannis Adamopoulos c54a058138 [SYSSETUP.INF] -Move registering comctl32.dll and ole32.dll much earlier in the setup.
svn path=/trunk/; revision=75464
2017-07-31 16:11:09 +00:00
Giannis Adamopoulos 6a67b9ef6b [COMCTL32] -Fix some failed tests for TB_GETMETRICS. Add support for button spacing.
svn path=/trunk/; revision=75463
2017-07-31 13:10:46 +00:00
Giannis Adamopoulos 6aa52a76c8 [COMCTL32_APITESTS] -Add toolbar tests for TB_SETBUTTONSIZE, TB_SETPADDING, TB_GETBUTTONSIZE, TB_GETMETRICS.
svn path=/trunk/; revision=75462
2017-07-31 13:04:09 +00:00
Pierre Schweitzer 26c43d8081 [RXCE]
Only implement RxTrackerUpdateHistory() if RDBSS_TRACKER is defined

CORE-11327
CORE-13610

svn path=/trunk/; revision=75461
2017-07-31 10:35:18 +00:00
Pierre Schweitzer 3118deeae6 [RDBSS]
For non dbg builds, don't implement macro defined functions RxDumpCurrentAccess(), RxDumpWantedAccess()

CORE-11327
CORE-13610

svn path=/trunk/; revision=75460
2017-07-31 09:33:01 +00:00
Mark Jansen fa95932bfc [REGEDIT] Fix the search dialog not opening when the root node is selected. Patch by Joachim Henze (reactosfanboy).
Small changes by me.
CORE-13071 #resolve #comment Thanks!

svn path=/trunk/; revision=75458
2017-07-30 14:04:44 +00:00
Mark Jansen 24376e47c4 [SDK][XML2SDB] Simplify include / exclude node specification.
svn path=/trunk/; revision=75457
2017-07-30 13:37:35 +00:00
Mark Jansen 22331e8f4b [SHIMENG] Partial rewrite to make the code easier to maintain.
- Protect ARRAY access with macro's / helper functions.
- Do not store objects in the ARRAY data, but store pointers to the objects.
- Rewrite import hooking to use an ARRAY instead of single linked lists.

svn path=/trunk/; revision=75455
2017-07-30 12:47:57 +00:00
Mark Jansen cbb6f94f4d [ACPPAGE] Fix the shell extension asking to add an empty layer.
svn path=/trunk/; revision=75454
2017-07-30 12:46:53 +00:00
Pierre Schweitzer e4cfb86b3e [RDBSS]
Implement RxPrepareToReparseSymbolicLink().
This allows symbolic links to work on a NFS share, we can now follow links that would have been exported by the server.

Safe to merge.

CORE-8204
CORE-11327
CORE-13615

svn path=/trunk/; revision=75451
2017-07-30 12:24:26 +00:00
Pierre Schweitzer f9df6b72bf [RDBSS]
When CcFlushCache fails, properly set status before leaving.

CORE-11327

svn path=/trunk/; revision=75445
2017-07-30 08:54:09 +00:00
Pierre Schweitzer 36fbf224f6 [NFSD]
In case NFS session expires while reading/writing to a file, renew the session instead of just failing.
This avoids not being able to transfer any file with slow connection, and not being able to transfer big files with normal connection.

CORE-8204
CORE-13484

svn path=/trunk/; revision=75444
2017-07-30 08:46:01 +00:00
Pierre Schweitzer 0498ff85e3 [KERNEL32]
In case of synchronous read, it's legit for the FSD to notify EOF by returning success & zero read length.
It fixes never ending reads when copying a file from NFS to local disk.

CORE-8204
CORE-11327
CORE-13484

svn path=/trunk/; revision=75443
2017-07-30 08:31:59 +00:00
Pierre Schweitzer a128acd13b [RXCE]
Don't forget to set RX_CONTEXT_FLAG_FROM_POOL flag when allocating a new RX_CONTEXT structure from pool.
This avoids leaking it afterwards and exhausting NP pool when using NFS.

CORE-8204
CORE-11327
CORE-13484
CORE-13604

svn path=/trunk/; revision=75442
2017-07-30 08:22:34 +00:00
Pierre Schweitzer 0eacafad27 [RXCE]
- Implement RxAcquireFcbForLazyWrite(), RxAcquireFcbForReadAhead(), RxReleaseFcbFromLazyWrite(), RxReleaseFcbFromReadAhead()

This makes RXCE better at dealing with Cc (and the other way round ;-)). This notably avoids infinite acquire loops from Cc when writing on a NFS share.

CORE-8204
CORE-11327

svn path=/trunk/; revision=75441
2017-07-30 07:58:25 +00:00
Giannis Adamopoulos d09d1d8165 [EXPLORER] -Fix calculatting the size of the tray icons for ral this time. When positioning the windows in the tray take into account the theme content margins.
svn path=/trunk/; revision=75440
2017-07-29 13:57:29 +00:00
Giannis Adamopoulos fd3b42b706 [UXTHEME] -Fix for the 3rd or 4th time the bug where the caption window overflows over the caption buttons which was last broken by me in 74960. CORE-13435
svn path=/trunk/; revision=75439
2017-07-29 09:43:48 +00:00
Giannis Adamopoulos 8215152588 [UXHTEME] - ThemeDrawCaptionText: Get the TMT_CONTENTALIGNMENT theme property and position the text accordingly. Patch by Stas'M. CORE-13600
svn path=/trunk/; revision=75438
2017-07-29 09:25:15 +00:00
Giannis Adamopoulos 9e7f835989 [COMCTL32] -Take into account the upper theme margin when drawing the icon so that it doesn't look misplaced. This makes the themed taskbar buttons look more or less good despite the fact that we completely ignore the left and right margins.
svn path=/trunk/; revision=75437
2017-07-29 08:52:04 +00:00
James Tabor 91dda33431 [User32]
- Patch by MudHead : Combobox sends a message to the deselect the text when focus is lost.
CORE-10266 #resolve

svn path=/trunk/; revision=75436
2017-07-29 01:59:07 +00:00
Mark Jansen 63568c9f24 [APPHELP] Various cleanup tasks
- Move debug heap functionality to a separate file
- Clean includes
- Remove msvcrt dependency
- Clean up string usage
- Remove some higher level functions in favor of their ntdll counterparts (wip).

svn path=/trunk/; revision=75432
2017-07-28 19:00:27 +00:00
Giannis Adamopoulos 9f2558d971 [EXPLORER] -Implement changing the size of the icons in the notification area when the non client metrics change. Now they always have the size of the title bar icon. Center vertically or horizontally the notification area in the taskbar.
svn path=/trunk/; revision=75430
2017-07-28 10:04:38 +00:00
Mark Jansen 7315f47790 [APPHELP] Use DbgPrint instead of OutputDebugString + fix SDBAPI_DEBUG_ALLOC
svn path=/trunk/; revision=75429
2017-07-27 20:36:51 +00:00
Hermès Bélusca-Maïto 3b42dceffb [ATL]: - Both the CAtlList class and its helper class CNode do not support copy construction. - Remove a redundant call to GetFreeNode().
CORE-13597

svn path=/trunk/; revision=75427
2017-07-27 19:08:55 +00:00
Thomas Faber 42336ccb3c [DLLS]
- Fix import order
- Remove unnecessary imports

svn path=/trunk/; revision=75426
2017-07-27 18:48:19 +00:00
Pierre Schweitzer 5c2272b886 [EXT2]
Import commits by Kaho Ng <ngkaho1234@gmail.com> from upstream:
- b7657e5 Ext3Fsd: Introduce VCB_RO_COMPAT_READ_ONLY flag for struct VCB
- e7c1142 Ext3Fsd: EXT4_FEATURE_INCOMPAT_64BIT is not supported
- 785943f Ext3Fsd: fix issue #6

Refuse mounting filesystems with incompatible flags. This avoids corrupting 64bits filesystems.

Patch by Lubomir Rintel

CORE-13589

svn path=/trunk/; revision=75422
2017-07-27 10:22:57 +00:00
Pierre Schweitzer 4f5478d56a [KERNEL32_VISTA]
Delay load NTDLL_vista, in order to save *380KB* at boot.

CORE-13361

svn path=/trunk/; revision=75421
2017-07-27 09:43:56 +00:00
Pierre Schweitzer 51e9c7f51a [RDBSS]
- Misc fixes with DPRINTS

[RXCE]
- In RxFinalizeSrvOpen, always dereference the FCB, it's always referenced on SRV_OPEN creation
- Misc fixes with DPRINTS

With that revision and r75419, I'm now able to mount a NFS share, browse it, read a file from it, and unmount it.
We're OK regarding references counting!

CORE-8204
CORE-11327
CORE-13581

svn path=/trunk/; revision=75420
2017-07-27 09:37:10 +00:00
Pierre Schweitzer 4a4f6e5d9f [SHELL32]
Revert r75348.
Because of r75349, this revision was made useless, and even worse, it was leaking a handle to the directory where the FSD doesn't support notifications.
Also made some debug traces more useful

svn path=/trunk/; revision=75419
2017-07-27 09:33:11 +00:00
Benedikt Freisen b36097ee50 [MSPAINT]
- Enable drag cancellation -- patch by Katayama Hirofumi MZ

CORE-13395 #resolve

svn path=/trunk/; revision=75418
2017-07-27 09:29:42 +00:00
Pierre Schweitzer 564e7818da [NFS]
Huge "hack" for ReactOS.
In case we're asked to unmount a NFS share, and there are still active FCBs, browse the prefix table for active NET_ROOT, and then, dump their associated FCBs (prefix + refcount).
It seems we only leak the root FCB.

CORE-8204
CORE-11327
CORE-13581

svn path=/trunk/; revision=75415
2017-07-26 20:00:30 +00:00
Pierre Schweitzer bf93adc414 [DDK]
Define RxIsFcbTableLockAcquired

CORE-8204
CORE-11327
CORE-13581

svn path=/trunk/; revision=75414
2017-07-26 19:57:50 +00:00
Thomas Faber 2d5ebe0ac1 [ACPICA]
- Update to version 20170629
CORE-13538 #resolve

svn path=/trunk/; revision=75412
2017-07-26 14:49:35 +00:00
Pierre Schweitzer 23e5c53ced [COPYSUP]
Remove leftovers from some attempted ugly things.
Should fix MSVC build

svn path=/trunk/; revision=75410
2017-07-26 09:55:30 +00:00
Pierre Schweitzer 85470b1b8e [RDBSS]
- Implement RxFastIoWrite()
- Finish implementation of RxFastIoCheckIfPossible()

[COPYSUP]
- Implement FsRtlCopyWrite2()

This brings (in link with r75398 fast IO writes to RDBSS, and thus NFS!

CORE-8204
CORE-11327

svn path=/trunk/; revision=75409
2017-07-26 09:28:41 +00:00
James Tabor 09ab5ea7ed [NtUser]
- Broadcast the appropriate messages to notify a change in display parameters and color. This should fix rollback issues from setting display modes. See CORE-12571 and CORE-13212.

svn path=/trunk/; revision=75407
2017-07-26 02:52:00 +00:00