Releases: jamescowens/idle_detect
Releases · jamescowens/idle_detect
0.8.3.0
0.8.2.0
What's Changed
- Correct logic for shmem/file timestamp by @jamescowens in #9
- Implement event_detect_control.sh script
- Correct event message timestamp for forced states
- Change services and configs to templates for packages vs local compile
0.8.1.0
[0.8.1.0] - 2025-04-27
Added
-
Wayland Protocol Support:
- Introduced Wayland-specific idle detection using the
ext-idle-notify-v1protocol. - Added dependency on
libwayland-devandwayland-protocolsfor building Wayland support. - Integrated Wayland protocol functionality into
CMakeLists.txtusingwayland-scanner.
- Introduced Wayland-specific idle detection using the
-
WaylandIdleMonitor Class:
- Added a new
WaylandIdleMonitorclass to handle idle state monitoring in Wayland environments. - Key features:
- Functions to initialize Wayland (
InitializeWayland) and monitor events (HandleIdled,HandleResumed). - Methods to check idle status (
IsIdle,GetIdleSeconds) and start/stop monitoring.
- Functions to initialize Wayland (
- Added a new
Changed
-
Version Update:
- Updated project version from
0.8.0.0to0.8.1.0.
- Updated project version from
-
Documentation:
- Updated Doxygen documentation to reflect the new version and added details about Wayland support.
- Included class diagrams and API documentation for the
WaylandIdleMonitor.
-
CMake Enhancements:
- Adjusted project settings to support both C and C++ languages.
- Refined installation paths and configuration for Wayland dependencies.
Notes
- This release extends idle detection to Non-KDE, non-Gnome Wayland environments, complementing existingWayland and X11 functionality.
- Ensure that the required Wayland dependencies are installed before building the project.
0.8.0.0
Changes from Version 0.7.12.0 to 0.8.0.0
1. CMake Build System Enhancements
- Updated installation paths and added new configurable parameters for user service directories and presets.
- Added support for installing new scripts such as
idle_detect_resources.shandforce_state.sh. - Introduced modified custom targets like
install_system_services, which now handle both system and user-level services.
2. Systemd Service Files
- Added
dc_idle_detection.servicefor user-level idle detection. - Added
90-idle-detect.presetto auto-enable the service.
3. Documentation Updates
- Updated the project version from
0.7.12.0to0.8.0.0throughout documentation files and HTML outputs. - Added or updated class references and member descriptions in Doxygen documentation.
4. Code Changes
- Modified service hardening recommendations in
dc_event_detection.service. - Removed the
ProtectHome=read-onlydirective in thedc_idle_detection.service.
5. Enums and Methods
- Added new states (
FORCED_ACTIVE,FORCED_IDLE,NORMAL, andUNKNOWN) to theStateenumeration for monitoring idle states. - Added new methods like
GetState()andStateToString()to represent and manipulate the state of the idle monitor.
0.7.12.0
Initial draft of Debian/Ubuntu packaging control files.
0.7.11.0
Remove atomic from shmem. Implement mutex for local writer locking.
This controls concurrency on the event_detect writer side. The reader
takes the risk of a torn read. Note that an architecural review of
this, there is concurrence due to the low update frequency that
the chances of a torn read are low, and atomics can't be implemented
on C++03 code on some DC systems, and the overhead of using
pthread_mutex_t is not worth it.
0.7.10.0
Change system service path in CMakeLists.txt
0.7.9
Fix CMakeLists.txt to respect install prefix
0.7.8
- Update README.md and documentation, increment version to 0.7.8.0
- Continue refining install.sh
0.7.7
- Update documentation and release version to 0.7.7.0.
- Update README.md and idle_detect.conf