12 Commits

Author SHA1 Message Date
Armin Novak
75d8f295b4 [checks,return] Fix missing *_foreach return checks
* Check HashTable_Foreach return
* Check ArrayList_ForEach return
2026-03-03 11:07:59 +01:00
Armin Novak
5c510af477 [c23,freerdp] replace NULL with nullptr 2026-02-26 15:06:27 +01:00
Armin Novak
e9723d1b61 [attributes] update attribute definitions
* support C++
* support C23
* replace __inline et al with C11 inline
2026-02-25 11:51:11 +01:00
Armin Novak
e935146e07 [clang,warnings] fix Wjump-misses-init 2026-01-08 11:32:40 +01:00
akallabeth
3975fe7c25 [core,timer] ensure all scheduled timers are handled
Timers might be delayed, so loop over all expired timers until none are
left.
2025-10-20 21:54:17 +02:00
akallabeth
e7b5ac7c73 [core,timer] fix reschedule interval
time was calculated in µs instead of ms.
@vokov0aa thank you for the hint
2025-10-10 10:23:57 +02:00
akallabeth
ee6d95ab25 [warnings] fix unused warnings 2025-06-13 10:15:56 +02:00
akallabeth
b57281ec99 [core,timer] fix use on platforms not supported
If a platform does not support the freerdp_timer_* API let it fail
silently.
2025-06-13 09:53:24 +02:00
akallabeth
62d86d0779 [core,timer] fix timer termination 2025-05-22 10:26:23 +02:00
akallabeth
2a020b8a5f [channels,video] fix NULL dereference 2025-05-19 08:17:43 +02:00
akallabeth
e9ae320c7f [core,timer] start timterID with 1
0 is invalid for timerID (or marks a failure state)
2025-05-16 21:03:17 +02:00
Armin Novak
72a09b1675 [core,timer] Add a timer implementation
Adds a timer implementation (bound to a RDP context) that is capable of
handling multiple timers simultaneously.
2025-05-16 12:11:32 +02:00