Commit Graph

11 Commits

Author SHA1 Message Date
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Steve Robb
cbac34aabd Deprecated delegate code removed.
Some fixes for deprecated code.

#codereview robert.manuszewski

[CL 2617562 by Steve Robb in Main branch]
2015-07-11 05:10:03 -04:00
Dmitry Rekman
4e4c33a2dc DirectoryWatcher: deleted the deprecated method.
- If someone was passing something like TRUE/FALSE instead of booleans to the deprecated method this would result in silent brekage.

#codereview Ben.Marsh, Michael.Trepka, Andrew.Rodham

[CL 2602196 by Dmitry Rekman in Main branch]
2015-06-26 10:20:01 -04:00
Dmitry Rekman
91055d7256 DirectoryWatcher: allow ignoring changes in subtrees.
- Improves performance in SlateFileDialogs when browsing folders like Perforce workspace.
- A new test is included, old method has been deprecated.
- Mac version is not implemented (JIRA pending).

#codereview Ben.Marsh, Michael.Trepka, Andrew.Rodham

[CL 2601659 by Dmitry Rekman in Main branch]
2015-06-25 20:17:42 -04:00
Dmitry Rekman
9b466aca72 Linux: multiple fixes for DirectoryWatcher.
- DW now returns correct paths for changes in subdirectory (UE-11861)
- DW will now automatically watch for changes in the whole tree, updating mapping when directories are added/deleted.
- DW now honors bIncludeDirectoryChanges option.
- Code has been hardened (should handle overflow and other failures).
- This change Incorporates parts from PR #1139 by 3dluvr (UE-15443) .
- Passes TestPAL and automation tests.

[CL 2549034 by Dmitry Rekman in Main branch]
2015-05-13 11:15:57 -04:00
Ben Marsh
1c2f8cc368 Fix DirectoryWatcher on Linux.
#codereview Dmitry.Rekman

[CL 2547187 by Ben Marsh in Main branch]
2015-05-12 10:09:42 -04:00
Dmitry Rekman
ecd5a19945 Re-enable DirectoryWatcher on Linux.
- Experimental; caused crashes in the past.

[CL 2479534 by Dmitry Rekman in Main branch]
2015-03-14 02:28:13 -04:00
Steve Robb
0756ef15b9 Delegate comparisons deprecated, lots of other associated code deprecated, and lots of warning fixups:
* Multicast delegate Add* calls now return FDelegateHandles, and Remove* calls are now all deprecated, except for a new Remove function which takes a FDelegateHandle.
* New FConsoleManager::RegisterConsoleVariableSink_Handle and UnregisterConsoleVariableSink_Handle functions which work in terms of FConsoleVariableSinkHandle.
* Timer calls which don't take FTimerHandles are deprecated.
* FTicker::AddTicker now returns an FDelegateHandle and is removed by an overloaded Remove function.
* DEFINE_ONLINE_DELEGATE* macros now define _Handle variants of the Add/Remove functions which return/take handles.
* Various other handle-based registration changes.
* Some unity build fixes.
* Some simplification of delegate code.
* Fixes for lots of existing code to use handle-based registration and unregistration.

#codereview robert.manuszewski

[CL 2400883 by Steve Robb in Main branch]
2015-01-08 09:29:27 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Dmitry Rekman
5d3235a00e Disable directory watcher for Linux temporarily.
- Crashes at times, need closer inspection.

[CL 2256317 by Dmitry Rekman in Main branch]
2014-08-14 11:29:24 -04:00
Dmitry Rekman
263bbe7e0c Support for modular builds (cross and native).
- Parts of PR #242 (with changes).

#codereview Josh.Adams

[CL 2222405 by Dmitry Rekman in Main branch]
2014-07-17 13:49:42 -04:00