Commit graph

1229 commits

Author SHA1 Message Date
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
o9000
14c3824632 Launcher: Add support for Terminal=true 2017-09-02 10:53:20 +02:00
o9000
eb93af3622 preprent "tint2:" to all logging messages 2017-09-01 18:23:46 +02:00
o9000
b7691afb8d Print logging output consistently to stderr 2017-09-01 18:11:35 +02:00
o9000
61c61c8844 Warn on primary_monitor_first 2017-09-01 18:06:56 +02:00
o9000
120207f1f9 Fix regression in cli handling 2017-09-01 18:02:35 +02:00
o9000
ceb6a44238 Launcher: fix layout on vertical panels 2017-09-01 11:34:57 +02:00
o9000
6a1b2f0610 Icon lookup: allow debugging enabled by env variable 2017-09-01 11:34:28 +02:00
o9000
95d4d90efd Button: fix parsing of empty config options 2017-09-01 11:32:44 +02:00
o9000
6605a1c3c2 Tracing support 2017-08-31 21:46:04 +02:00
o9000
0c754affd9 Refactoring 2017-08-31 18:55:22 +02:00
o9000
1e45abe988 Refactoring 2017-08-31 18:38:31 +02:00
o9000
6852e25372 Refactoring 2017-08-31 16:42:05 +02:00
o9000
2d67984536 Revert to the old autohide style (issues #640, #657) 2017-08-25 17:16:41 +02:00
o9000
e042bc3a17 Fix memory leak in icon themes (possibly related to issue #650) 2017-08-25 16:51:56 +02:00
o9000
297e2a13a2 Refresh clock text immediately if empty (issue #659, regression) 2017-08-25 16:31:49 +02:00
o9000
4df8f475ce Fix resizing of text elements (issue #661) 2017-08-24 23:57:48 +02:00
o9000
8e50c20c9d Reinitialize timers correctly when created from their own callbacks 2017-08-21 14:26:20 +02:00
o9000
e9adb18d58 Merge branch 'aaaz/tint2-master' 2017-08-21 13:49:56 +02:00
o9000
f5f8423364 panel: Set _NET_WM_PID (fixes issue #651) 2017-07-22 09:22:27 +02:00
o9000
00a5f72857 Create dirs with parents 2017-07-21 12:03:49 +02:00
o9000
f4ec61340f Fix fd leak to children 2017-07-16 10:14:40 +02:00
o9000
a46d22b31f Fix minor memory leak 2017-07-16 09:57:59 +02:00
o9000
7ad8bbe6e7 Fix minor memory leak 2017-07-16 09:50:53 +02:00
aaaz
fcbdd00bce update clock at the beginning of seconds 2017-07-08 16:24:45 -05:00
o9000
491a56db10 Clock: Update correctly after suspend 2017-07-02 23:19:24 +02:00
o9000
cbe31981b3 Executor: fallback to old style tooltips if stderr is empty 2017-06-27 12:42:51 +02:00
o9000
b931066573 Executor: truncate very long tooltips 2017-06-27 12:27:50 +02:00
o9000
f45e107207 Executor: if no user tooltip is set, display stderr output 2017-06-27 12:24:52 +02:00
o9000
4b9ee685ac Update timers correctly after suspend 2017-06-27 00:53:17 +02:00
o9000
c8ccf053ff tint2conf: fix segfault in corner case 2017-06-26 11:08:31 +02:00
o9000
51bc9d1569 Updated translation files 2017-06-22 22:11:06 +02:00
o9000
521ffbfaaf Remove primary_monitor_first and add primary as a possible monitor value (issue #614) 2017-06-22 19:57:23 +02:00
o9000
cd33e5b274 Battery: better Unknown state handling 2017-06-22 19:03:05 +02:00
o9000
201ea843a0 Battery: new config option battery_full_cmd (fixes issue #585) 2017-06-20 20:38:26 +02:00
o9000
dee210ceec Updated French translation 2017-06-20 20:25:07 +02:00
o9000
ea0e52c5a2 Battery format fixes 2017-06-20 18:58:22 +02:00
o9000
b5578ff5bc battery: Do not redefine strncat with different semantics 2017-06-20 16:18:28 +02:00
o9000
f9ad3cb029 Merge battery format from https://gitlab.com/berkley4/tint2 (issue #229) 2017-06-20 13:15:41 +02:00
o9000
30c24c59ed Hide executor if output is empty (issue #648) 2017-06-20 13:01:09 +02:00
o9000
6f05c9d327 Hide executor if output is empty (issue #648) 2017-06-20 12:57:35 +02:00
o9000
30429b88b3 Merge battery format from https://gitlab.com/berkley4/tint2 (issue #229) 2017-06-20 12:36:04 +02:00
o9000
394be61a65 Collapse executor if output is empty (fixes issue #648) 2017-06-20 11:38:37 +02:00
o9000
d55f6d7baa taskbar_hide_different_desktop 2017-06-20 05:06:37 +02:00
o9000
7c87ab88bc Reexecute on SIGUSR2 2017-06-05 16:56:40 +02:00
o9000
948bf10bad Refactor text rendering 2017-06-05 16:12:51 +02:00
o9000
59c3761455 Refactor text rendering 2017-06-05 16:12:51 +02:00
o9000
b50f5ecf3e executor: do not output last line if it is not terminated by newline 2017-06-02 20:10:41 +02:00
o9000
85e1a356fe Fix incorrect config warning 2017-05-31 23:06:47 +02:00
o9000
5da4c1653a Clock: take into account borders and padding when computing size 2017-05-29 23:57:38 +02:00
o9000
64edd55add Task: take into account border width when computing text height 2017-05-28 14:46:50 +02:00
o9000
bd28ee77d9 Fix task icon size limits (https://forums.bunsenlabs.org/viewtopic.php?pid=51884) 2017-05-24 21:07:47 +02:00
o9000
f8dde00a33 Do not pollute command line of executed processes 2017-05-20 14:48:25 +02:00
o9000
380f260027 Fix some memory leaks (issue #641) 2017-04-30 20:49:08 +02:00
o9000
067234e9fb Unify code used to execute external programs 2017-04-29 13:42:37 +02:00
o9000
e32d2342a6 Fix regression in executor (issue #639) 2017-04-27 21:57:45 +02:00
o9000
82776df9d6 Fix crash when _NET_WM_ICON is set but empty 2017-04-27 09:04:16 +02:00
o9000
91f7384fd2 Fix compilation under ubunt 12.04 2017-04-22 22:21:13 +02:00
o9000
ae60e8f1e7 Use c99 to fix compilation on old distributions 2017-04-22 22:14:00 +02:00
o9000
49b41667ad tint2conf: Add mime type and full support for editing by path 2017-04-22 19:31:59 +02:00
o9000
701b57e113 Open current tint2 config automatically when started from tint2 2017-04-22 19:07:49 +02:00
o9000
affac4cfa6 Changed indentation everywhere 2017-04-13 14:07:23 +02:00
o9000
8f67884119 Turn off debugging output 2017-04-08 14:12:02 +02:00
o9000
0932cc1084 Change _NET_WM_ICON_GEOMETRY on panel shrink (issue #634) 2017-04-08 14:10:39 +02:00
o9000
e7375a186f Fix startup notification issue 2017-04-08 14:10:09 +02:00
o9000
8917a4d15b Remove _NET_WM_ICON_GEOMETRY for hidden task buttons (issue #634) 2017-04-08 13:50:49 +02:00
o9000
87ca207107 Button: prefix environment variables 2017-04-05 20:26:57 +02:00
o9000
982767ce2e Buttons: export alignment variables for menu 2017-04-02 11:18:17 +02:00
o9000
fc5385aa38 Buttons: export alignment variables for menu 2017-04-02 10:09:24 +02:00
o9000
39480f48ac Buttons: export alignment variables for menu 2017-04-01 14:04:08 +02:00
o9000
1c1ba904a4 Update doc 2017-03-26 22:04:35 +02:00
o9000
b9ab0ae58e tint2conf: Fix bad code when compiling with clang 2017-03-26 15:47:16 +02:00
o9000
2c90c5640e tint2conf: Fix bad code when compiling with clang 2017-03-26 15:46:10 +02:00
o9000
0fc22b5cd6 Button: svg icon support 2017-03-26 10:39:02 +02:00
o9000
a2c5553f4f Button: make sure icon is optional 2017-03-25 15:50:32 +01:00
o9000
63dd4a3e6c Button: make sure icon is optional 2017-03-25 15:48:03 +01:00
o9000
a7fc86cfbb tint2conf: Fixes for buttons 2017-03-25 15:45:10 +01:00
o9000
54d361cf42 Button: mouse effects 2017-03-25 15:23:06 +01:00
o9000
153de1aa45 Button: bugfix 2017-03-25 15:19:57 +01:00
o9000
fc883a5dd8 Button: maximum icon size option 2017-03-25 14:53:21 +01:00
o9000
dfd735956c tint2conf: Update fr.po 2017-03-25 14:42:06 +01:00
o9000
a77b728110 tint2conf: Update po 2017-03-25 14:38:24 +01:00
o9000
5cfffd7c8e tint2conf: Update pot 2017-03-25 14:38:04 +01:00