Commit Graph

28 Commits

Author SHA1 Message Date
Kristóf Tóth
0ef502a680 Make property setup stuff in FileManager.__init__() more readable 2018-03-15 12:04:39 +01:00
Kristóf Tóth
4b8b71d967 Expose FileManager exclude as a property 2018-03-15 12:02:56 +01:00
Kristóf Tóth
929ea905c5 Improve error handling in webide backend 2018-03-14 14:15:40 +01:00
Kristóf Tóth
b955a570fd Fix DirectoryMonitor.stop() raising unhandled KeyError on rm -rf workdir 2018-03-09 09:50:13 +01:00
Kristóf Tóth
0e4be3c22f Refactor DirectoryMonitor handling in SourceCodeEventHandler 2018-03-09 09:37:48 +01:00
Kristóf Tóth
3b241a3930 Implement error handling in SourceCodeEventHandler.select_dir() 2018-03-09 09:11:52 +01:00
Kristóf Tóth
20895cb989 Add workind directory to SourceCodeEventHandler's default fileinfos 2018-03-09 08:52:13 +01:00
Kristóf Tóth
9e4fe87d84 Implement support to change working directories in SourceCodeEventHandler 2018-03-09 08:45:30 +01:00
Kristóf Tóth
7858caf51a Make excluded stuff in FileManager configurable from __init__() 2018-03-09 08:41:12 +01:00
Kristóf Tóth
b224ed519d Add support to FileManager to change working directory 2018-03-09 08:37:08 +01:00
Kristóf Tóth
af1a6261cc Refactor naming conventions: data_json -> message in TFW EventHandlers 2018-03-08 16:11:43 +01:00
Kristóf Tóth
2c816d5a38 Implement error handling on EventHandler exposing APIs 2018-03-07 14:45:43 +01:00
Kristóf Tóth
3cf404ee9a Implement inotify event ignoration logic 2018-03-07 09:17:29 +01:00
Kristóf Tóth
207f984db1 Delete key instead of setting it to empty string value 2018-03-02 14:02:05 +01:00
Kristóf Tóth
3e06f5c196 Optimize write event responses by removing unused file content 2018-03-02 11:04:58 +01:00
Kristóf Tóth
715e39af0d Expose DirectoryMonitor instance from SourceCodeEventHandler 2018-03-02 10:23:10 +01:00
Bokros Bálint
58d2977731 Merge pull request #13 from avatao-content/bottomless_pit
Refactor TFW architecture to support stateless event handling
2018-02-27 14:09:44 +01:00
Kristóf Tóth
940e74d6da Implement triggered and triggerless EventHandler base classes 2018-02-23 14:07:41 +01:00
Kristóf Tóth
31ba6cb623 Rename anchor -> key globally ¯\_(ツ)_/¯ 2018-02-21 15:28:16 +01:00
Kristóf Tóth
3e54733033 Remove unused import 2018-02-16 11:09:58 +01:00
Kristóf Tóth
6e7e681602 Remove unnecessary call in FileManager 2018-02-15 16:32:41 +01:00
Kristóf Tóth
ade210c4fc Remove extension -> language mapping from backend (move to frontend) 2018-02-15 16:30:02 +01:00
Kristóf Tóth
c2e161dad3 Make DirectoryMonitor pausable using the with statement 2018-02-14 17:44:05 +01:00
Kristóf Tóth
0b3db0ae9e Implement pausing watchdog while webide files are being written 2018-02-14 16:09:09 +01:00
Bálint Bokros
14f3a4a153 Move SupervisorMixin to mixins 2018-02-13 17:51:19 +01:00
Kristóf Tóth
1d47ca5684 Add method EventHandlerBase.cleanup() 2018-02-13 15:38:46 +01:00
Kristóf Tóth
9c006451bf Implement proof of concept directory event monitoring 2018-02-12 16:01:24 +01:00
Kristóf Tóth
1692b424b5 Move webide and terminado event handlers to lib/tfw/components 2018-02-11 14:15:10 +01:00