Commit graph

1232 commits

Author SHA1 Message Date
o9000
b9589450bb Executor: Fix layout (issue #695) 2018-01-26 21:20:23 +00:00
o9000
03675b152d Match perfectly text layout and drawing parameters #693 2018-01-20 08:56:58 +00:00
o9000
04ba5a6617 Do not spin when battery is unplugged 2018-01-19 23:20:44 +00:00
o9000
f5f8792d42 Update translations 2018-01-19 22:00:26 +00:00
o9000
965a2665b0 Scaling support - scale by screen height (issue #656) 2018-01-19 21:37:56 +00:00
o9000
b2b0119f4d Fix use after free in DPI computation 2018-01-19 21:21:22 +00:00
o9000
41e49ef4e6 Do not spin when battery is unplugged 2018-01-19 21:20:03 +00:00
o9000
25dd623618 Likely fix for #693 2018-01-19 21:19:18 +00:00
o9000
28b1174c0f Remove dead code 2018-01-19 20:49:38 +00:00
o9000
b70edc437c Possible fix for issue #693 2018-01-18 21:41:32 +00:00
o9000
bf58e16b83 Possible fix for issue #693 2018-01-18 21:31:44 +00:00
o9000
3190c5b7de Scaling support - tooltips (issue #656) 2018-01-17 21:12:17 +00:00
o9000
5c5f507e54 Scaling support in tint2conf - translations (issue #656) 2018-01-17 05:40:46 +00:00
o9000
d301ada47a Scaling support in tint2conf - translations (issue #656) 2018-01-17 05:37:15 +00:00
o9000
b3f9834313 Scaling support in tint2conf (issue #656) 2018-01-17 05:27:56 +00:00
o9000
c7b23ee94a Scale panel elements (issue #656) 2018-01-17 05:19:32 +00:00
o9000
12f04e3055 Scale panel window size (issue #656) 2018-01-17 04:13:01 +00:00
o9000
7f62594cf6 Add config option (issue #656) 2018-01-17 03:54:49 +00:00
o9000
405c2c9286 Compute monitor DPI (issue #656) 2018-01-17 03:51:32 +00:00
o9000
427afc61b5 Distribute size correctly between taskbars when center alignment is used and there is only one visible taskbar (Fixes issue #691) 2018-01-14 17:31:46 +00:00
o9000
dd1fd28114 Embed default icon, in case it is not found on the system (e.g. tint2 not installed, just compiled) 2017-12-29 16:10:58 +01:00
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