summaryrefslogtreecommitdiff
path: root/src/Idle.cxx
AgeCommit message (Collapse)Author
2021-01-01copyright year 2021Max Kellermann
2020-03-12replace assert.h with cassertRosen Penev
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-18copyright year 2020Max Kellermann
2019-06-17Copyright year 2019Max Kellermann
2019-05-29Main: allocate Instance on the stackMax Kellermann
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
2018-10-31*: copyright year 2018Max Kellermann
2017-01-03update copyright yearMax Kellermann
2016-03-10IdleMonitor: new class to replace GlobalEvents::IDLEMax Kellermann
Use MaskMonitor to eliminate duplicate code.
2016-03-05Idle: move flags to IdleFlags.hxxMax Kellermann
2016-03-05GlobalEvents: expose the internal classMax Kellermann
Move the GlobalEvents::Monitor instance into class Instance. Eliminate all global variables.
2016-02-26update copyright year to 2016Max Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-12-26fs/Traits, ...: work around -Wtautological-pointer-compareMax Kellermann
New in clang 3.6.
2014-02-12StorageCommands: emit IDLE_MOUNT on successful "mount"Max Kellermann
Add the new idle event to Idle.hxx/Idle.cxx.
2014-02-09Idle: error out when unrecognized idle event was specifiedMax Kellermann
Implements the error checks missing in commit 0bad8406
2014-01-26neighbor: new subsystem to detect file servers on the local networkMax Kellermann
This commit adds the NeighborPlugin API which can be used to detect nearby file servers that can be used by input plugins. This list of servers is exported using the new "listneighbors" command. The idle even "neighbor" notifies interested clients when a new neighbor is found or an existing one is lost. There's a lot missing currently: protocol&user documentation, and a way to "mount" remote servers into the music database. Obviously, some code from the UPnP database plugin can be moved to a neighbor plugin.
2014-01-13copyright year 2014Max Kellermann
2013-02-27Idle, GlobalEvents: use std::atomic::exchange()Max Kellermann
Less overhead than fetch_and() for what we do.
2013-01-16Idle: don't wake up event loop on duplicate eventMax Kellermann
2013-01-16Idle: use std::atomic instead of GMutexMax Kellermann
2013-01-09EventPipe: rename to GlobalEventsMax Kellermann
2013-01-09event_pipe.h: convert to C++Max Kellermann
2013-01-09idle: convert to C++Max Kellermann