Commit Graph

13 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
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
Dmitry Rekman
302383e2f7 Linux: more info on watch request failures.
[CL 2505579 by Dmitry Rekman in Main branch]
2015-04-08 14:53:56 -04:00
Dmitry Rekman
82d40fe2a5 Linux: add watch for the directory too, not just subdirs.
- Hopefully fixes DirectoryWatcher on Linux.

[CL 2479554 by Dmitry Rekman in Main branch]
2015-03-14 03:18:53 -04:00
Dmitry Rekman
5276273c1b Fix possible culprit of memory stomping in Linux directory watcher.
[CL 2479539 by Dmitry Rekman in Main branch]
2015-03-14 02:45:00 -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
95675e49d4 Fixes to fixes.
[CL 2244943 by Dmitry Rekman in Main branch]
2014-08-05 19:12:33 -04:00
Dmitry Rekman
d3dba42f47 Fixes to DirectoryWatcher from PR #306.
[CL 2244939 by Dmitry Rekman in Main branch]
2014-08-05 19:12:20 -04:00
Dmitry Rekman
c1d2ba36d4 Linux: Fixing broken compilation of DirWatcher.
(how could I miss that?)

[CL 2222732 by Dmitry Rekman in Main branch]
2014-07-17 17:20:41 -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