Commit graph

1211 commits

Author SHA1 Message Date
o9000
eb0e6765f9 Taskbar: setup timers in init_() to allow restart 2017-12-29 14:38:06 +01:00
o9000
e5380f8e29 Timer: rename timeout -> timer 2017-12-29 13:10:47 +01:00
o9000
a9a9a753bc Timer: new implementation (merge complete) 2017-12-29 06:32:55 +01:00
o9000
38bee65b58 Timer: new implementation (all tests pass) 2017-12-29 06:21:53 +01:00
o9000
f64cf199e4 Timer: new implementation (merge finished, tests failing) 2017-12-28 22:45:20 +01:00
o9000
0911dcaed1 Timer: new implementation (needs merge) 2017-12-28 21:54:14 +01:00
o9000
c41d75e54e Integrate unit tests in ci script 2017-12-28 19:28:57 +01:00
o9000
8e0bdcaedd Timer: more tests 2017-12-28 13:22:32 +01:00
o9000
be4554b89d Timer: more tests 2017-12-28 11:39:41 +01:00
o9000
82d7fdc8f9 Timer: more tests 2017-12-28 10:42:09 +01:00
o9000
e046cb88ab Timer: more tests 2017-12-28 10:34:53 +01:00
o9000
300ef518cb Timer: more tests 2017-12-28 09:43:00 +01:00
o9000
457d51e267 Task, Button: add a bit of slack in the pango text layout, to avoid wrapping due to rounding errors 2017-12-28 09:14:02 +01:00
o9000
1b48efe738 Executor: add a bit of slack in the pango text layout, to avoid wrapping due to rounding errors 2017-12-28 09:11:43 +01:00
o9000
40e01e2abf Timer: add testing base 2017-12-27 22:18:02 +01:00
o9000
a7ca1b739b Workaround broken timer code (SIGSEGV on recent gcc) 2017-12-27 21:15:12 +01:00
o9000
a185f625f9 Proper fix for time_t printing 2017-12-21 12:33:09 +01:00
o9000
328a35f949 A bit of refactoring 2017-12-21 12:06:23 +01:00
o9000
cab9c3bddd A bit of refactoring 2017-12-21 12:05:37 +01:00
o9000
5dd814773a A bit of refactoring 2017-12-21 11:57:49 +01:00
o9000
f4384b786c Fix includes in strlcat 2017-12-21 11:47:59 +01:00
o9000
375e965a3a Silence time_t warning 2017-12-21 11:44:41 +01:00
o9000
67e25b8102 Replace strcat with strlcat 2017-12-21 11:42:07 +01:00
o9000
c96201930b Replace sprintf with snprintf 2017-12-21 11:22:11 +01:00
o9000
c635f46439 Feature test C11 generics, since GCC lies about compliance 2017-12-20 18:55:50 +01:00
o9000
cfac6a645d Fix alignment when taskbar_distribute_size = 1 and task_align is not left (issue #688) 2017-12-20 16:47:55 +01:00
o9000
648c7c109f Move files to util 2017-12-20 16:40:23 +01:00
o9000
8946f93254 New unit testing skeleton 2017-12-19 15:32:23 +01:00
o9000
58e030de5d New unit testing skeleton 2017-12-19 15:28:57 +01:00
o9000
978e1c90fc Update translations 2017-11-26 21:45:26 +01:00
o9000
3fba8aa1cf tint2conf: Fix tooltip (issue #588) 2017-11-26 21:40:07 +01:00
o9000
c3ed2dadf3 Fix issue #684 2017-11-26 17:22:58 +01:00
o9000
1753641fc9 Fix issue #684 2017-11-26 16:14:31 +01:00
o9000
467ea1332c Taskbar: thumbnails (cleanup) 2017-11-26 10:24:40 +01:00
o9000
68c2ad7062 Taskbar: thumbnails (disable cairo method as it leaks heavily when screensaver is on) 2017-11-25 22:27:46 +01:00
o9000
cc5842463d Simplify get_text_size 2017-11-23 22:38:55 +01:00
o9000
5e124c7a97 Separator: fix memory leak 2017-11-23 22:37:42 +01:00
o9000
07865142b2 Refactoring 2017-11-23 22:31:19 +01:00
o9000
0c71fda5e1 Button: fix memory leak 2017-11-23 22:28:26 +01:00
o9000
8eaf187984 Implement tinting by icon content (refactoring) 2017-11-23 22:05:41 +01:00
o9000
abe8a0eeb1 Implement tinting by icon content (do not apply task state asb effects) 2017-11-22 09:06:10 +01:00
o9000
715eb556da Taskbar: thumbnails (initialize settings) 2017-11-21 12:51:54 +01:00
o9000
b9e64da9da Update translations 2017-11-21 12:40:27 +01:00
o9000
67c3e47414 Implement tinting by icon content (config and documentation) 2017-11-21 12:04:36 +01:00
o9000
e96e7fbee7 Taskbar: thumbnails (fix bad copy paste) 2017-11-20 14:12:26 +01:00
o9000
65c91667f9 Implement tinting by icon content (bugfixes) 2017-11-20 10:15:12 +01:00
o9000
9f4087b471 Implement tinting by icon content (issue #638; thanks @heisenbug) 2017-11-19 22:15:24 +01:00
o9000
247687307b Taskbar: thumbnails (update periodically only the active window) 2017-11-17 17:32:49 +01:00
o9000
2c9d1fdf7d Taskbar: thumbnails (twaked blur a bit) 2017-11-17 17:25:53 +01:00
o9000
500b8f5bea Taskbar: thumbnails (improved fixed point precision) 2017-11-17 17:09:46 +01:00
o9000
7e6f7df55e Taskbar: thumbnails (interleave slow periodic throttling with event processing) 2017-11-17 15:53:23 +01:00
o9000
47201cab84 Taskbar: thumbnails (interleave slow periodic throttling with event processing) 2017-11-17 15:40:59 +01:00
o9000
f7d083904f Timer: do not clear timers restarted from their own callback function - fix check 2017-11-17 15:40:48 +01:00
o9000
f11d30f076 Taskbar: thumbnails (only print debug info if DEBUG_THUMBNAILS environment variable is set) 2017-11-17 15:15:15 +01:00
o9000
c0eaa8274f Taskbar: thumbnails (update every 1s for the active tooltip) 2017-11-17 15:08:34 +01:00
o9000
38488b8d75 Timer: do not clear timers restarted from their own callback function 2017-11-17 15:08:27 +01:00
o9000
07339c09a0 Taskbar: thumbnails (update every 1s for the active tooltip) 2017-11-17 11:45:42 +01:00
o9000
0521223899 Taskbar: thumbnails (interleave slow periodic throttling with event processing) 2017-11-17 08:19:23 +01:00
o9000
cbf3cebbb0 Taskbar: thumbnails (XShmGetImage - avoid leaking in X) 2017-11-16 12:14:09 +01:00
o9000
4b50446a7b Taskbar: thumbnails (use slower but safed XGetImage) 2017-11-16 11:39:44 +01:00
o9000
e8a6c93b28 Fix tooltip use after free 2017-11-16 08:32:19 +01:00
o9000
5e6e1184fe Taskbar: thumbnails (small fixes and disable shm for now) 2017-11-15 21:33:52 +01:00
o9000
89ab1fa6c4 Taskbar: thumbnails (make sure we are using rgb24) 2017-11-15 14:11:39 +01:00
o9000
e597973cd7 Taskbar: thumbnails (optimizations - get rid of XGetPixel calls) 2017-11-15 13:00:27 +01:00
o9000
ebe30774ac Taskbar: thumbnails (make sure window is not minimized) 2017-11-15 12:14:37 +01:00
o9000
d463dcb5b4 Taskbar: thumbnails (optimizations) 2017-11-15 12:10:49 +01:00
o9000
23782a4414 Timer: fix use after free 2017-11-15 12:08:29 +01:00
o9000
1be85e66fe Taskbar: thumbnails (optimizations) 2017-11-15 12:08:12 +01:00
o9000
2fe7efd4fe Taskbar: thumbnails (optimizations) 2017-11-15 11:44:35 +01:00
o9000
1b6fd91611 Taskbar: thumbnails (optimizations) 2017-11-15 11:28:03 +01:00
o9000
5730725762 Taskbar: thumbnails (tint2conf) 2017-11-14 17:51:35 +01:00
o9000
87da8c76cc Taskbar: thumbnails (config, tint2conf and doc) 2017-11-14 17:09:04 +01:00
o9000
e5ecc0c15d Taskbar: thumbnails (use image size without cosidering frame) 2017-11-14 15:41:21 +01:00
o9000
812e306376 Taskbar: thumbnails (use gaussian filtering, seems faster) 2017-11-14 13:53:37 +01:00
o9000
3155a5fc89 Taskbar: thumbnails (profiling) 2017-11-14 13:08:53 +01:00
o9000
bc4af51e82 Taskbar: thumbnails (alignment) 2017-11-14 12:58:42 +01:00
o9000
01de174919 Taskbar: thumbnails (timers) 2017-11-14 12:21:08 +01:00
o9000
7ddb373cb4 Taskbar: thumbnails 2017-11-14 11:04:55 +01:00
o9000
8ba1f26309 Taskbar: thumbnails 2017-11-14 10:48:47 +01:00
o9000
5a867a83c6 Taskbar: thumbnails 2017-11-14 10:34:57 +01:00
o9000
0e8a6dd961 Systray: warn on duplicate config option systray_name_filter (issue #652) 2017-11-10 13:44:04 +01:00
o9000
07d907fc43 Add Spanish translation (contributed by Vicmz) 2017-11-10 13:23:03 +01:00
o9000
1ff3404e56 Update periodic testing scripts 2017-11-05 19:51:09 +01:00
o9000
23ddb47e0c Reset signal mask at startup 2017-10-15 13:07:12 +02:00
o9000
407aef3786 Reset signal mask before executing commands (issue #674) 2017-10-15 13:00:18 +02:00
o9000
031bd23849 Print tint2: before geometry dumps 2017-10-01 18:33:53 +02:00
o9000
7e2dc91ce7 Silence warning 2017-10-01 14:04:34 +02:00
fafryd
9aa50104db Fix warning ISO C does not support __FUNCTION__
"warning: ISO C does not support ‘__FUNCTION__’ predefined identifier"

Among others -Wpedantic now warns about non-standard predefined identifiers.
The fix is either to use the standard predefined identifier __func__ (since C99),
or to use the __extension__ keyword.
2017-10-01 09:37:05 +02:00
o9000
e38ccf5376 Remember window order on panel restart (issue #615) 2017-09-28 12:26:46 +02:00
o9000
b8675fa208 Compute text size correctly (issue #671) 2017-09-28 11:23:31 +02:00
o9000
c21930de2b Battery: check that data files are readable and non-empty 2017-09-17 14:26:29 +02:00
o9000
fc61676732 Battery: Do not show time remaining if rate is zero 2017-09-17 14:09:48 +02:00
o9000
3de424b129 Allow batteries that do not provide the charging rate 2017-09-17 14:04:03 +02:00
o9000
86d6e96f7a Fix build on various architectures 2017-09-08 17:37:40 +02:00
o9000
87e1ccc6bf Fix build on various architectures 2017-09-08 17:37:01 +02:00
o9000
aa355e22f9 Fix build on various architectures 2017-09-08 17:04:10 +02:00
o9000
d21f758158 Fix build on various architectures 2017-09-08 16:35:24 +02:00
o9000
f2741116a7 Fix build on non-x86 architectures 2017-09-05 19:11:13 +02:00
o9000
d49adfdef3 Launcher: Support %f and %F 2017-09-02 13:04:01 +02:00
o9000
498b665c8a Launcher: Fix drag and drop 2017-09-02 12:39:40 +02:00