Commit Graph

24 Commits

Author SHA1 Message Date
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
Ben Marsh
c061da4204 Add support for directory events in directory watcher, and use it to refresh the list of enabled plugins.
#codereview Michael.Trepka, Dmitry.Rekman

[CL 2547044 by Ben Marsh in Main branch]
2015-05-12 08:01:38 -04:00
Adric Worley
e578e2d7cd Separate automated system tests from project-specific tests
[CL 2514485 by Adric Worley in Main branch]
2015-04-16 12:40:47 -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
Andrew Rodham
dc5abd1940 Changing directory watcher tests to only be run in the editor
[CL 2487723 by Andrew Rodham in Main branch]
2015-03-23 09:38:52 -04:00
Andrew Rodham
fa7632bb5c Changing directory watcher tests to only be run in the editor
[CL 2487721 by Andrew Rodham in Main branch]
2015-03-23 09:37:43 -04:00
Gareth Martin
1aa14df1ed Nonunity build fix
[CL 2483161 by Gareth Martin in Main branch]
2015-03-18 11:53:56 -04:00
Andrew Rodham
852918453e Automation tests for directory watchers
[CL 2483031 by Andrew Rodham in Main branch]
2015-03-18 10:26:11 -04:00
Andrew Rodham
e39c42c730 Improvements to mac directory watcher.
Made some changes to report file changes more accurately. Automation tests to follow.

[CL 2483025 by Andrew Rodham in Main branch]
2015-03-18 10:24:52 -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
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
Jaroslaw Palczynski
65ba5d456f TArray documentation and a coupld of methods deprecation.
Changes mostly in Array.h. The changes in other files are only renames for deprecated functions.

[CL 2312616 by Jaroslaw Palczynski in Main branch]
2014-09-29 04:23:44 -04: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
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
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Bob Tellez
b2acac1061 UE4: Fixed a crash at shutdown in DirectoryWatcher. Cancelled I/O requests must be completed before closing the handle and deleting the request.
[CL 2068271 by Bob Tellez in Main branch]
2014-05-09 11:52:31 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00