aboutsummaryrefslogtreecommitdiff
path: root/src/api/dirmonitor
AgeCommit message (Collapse)Author
2024-03-18Add SerenityOS platform support (#1745)Jan
* Add SerenityOS platform support * remove cpp_std default option
2023-01-13Updated dummy method signature to match prototypes.Adam Harrison
2022-12-27dirmonitor: use pipes on fsevents (#1274)Jefferson González
As suggested by Guldoman this change introduces the usage of pipes to allow blocking the get changes call until any file system changes are received, which now properly reduces the cpu usage on idle to 0%. This change better fixes #1237
2022-12-27dirmonitor: fix high cpu usage, fixes #1237 (#1271)Jefferson González
2022-12-18Converted from bytes to characters, as this is what windows is expecting.Adam Harrison
2022-11-15MSVC Support (#1199)Takase
* fix stdalign and min/max for MSVC * add missing ISREG and ISDIR for MSVC * use MAX_PATH instead of PATH_MAX * remove unecessary headers inclusion * add MSVC CI * add appropriate macros to platform detection * re-add msvc CI artifacts * upload the generated artifacts * patch lua for MSVC CI builds * update patch for MSVC compatibility
2022-11-05dirmonitor: give kevent a timeout so it doesn't lock forever (#1180)Jan
2022-10-12dirmonitor: added missing mutex initialization (#1150)Jefferson González
2022-10-10Add fsevents backend to dirmonitor (#1141)Jefferson González
* dirmonitor: added backend reporting of watch mode * dirmonitor: added fsevents backend for macos
2022-06-23Fixed minor issue on windows.Adam
2022-05-15Autoreload Nagview (#942)Adam
* Modified autoreload to use new dirwatch infrastructure, and added in nagview to verify that fs changes don't stomp on our changes, unless you want them to. * Split out reload functionality to actual document, and added in a thread to check the document, in the cases where it wouldn't be covered by dirwatch. * As per request from jgmdev, added in ability to show nagview always. * Changed things over to use dirwatch. * Made sure we redrew things, added in a contingency in 'save' for times when we load a non-existent file, and added some checks.
2022-05-09Removed undefined behaviour by using `poll` over `select`.Adam Harrison
2022-05-09Merge branch 'master' into master-2.1Adam
2022-05-09Fixed dirwatch dummy, and scanning.Adam Harrison
2022-05-02Fixed minor race condition.Adam Harrison
2022-05-02Fixed minor race condition.Adam Harrison
2022-04-26Make sure pipes are closed on exec.Adam Harrison
2022-04-26Asynchronous Reads for Dirmonitor (#930)Adam
Change dirmonitor reads to be synchronous, in a secondary thread.
2022-04-26Fixed windows dirmonitor issues.Adam Harrison
2022-04-24Make sure pipes are closed on exec.Adam Harrison
2022-04-24Asynchronous Reads for Dirmonitor (#930)Adam
Change dirmonitor reads to be synchronous, in a secondary thread.
2022-04-03Fixed windows dirmonitor issues.Adam Harrison
2022-03-17seperate dirmonitor logic, add build time detection of features (#866)Jan
this also adds libkqueue support