Commit graph

  • 6019129acc config: clean up particle_string_from_config() Daniel Eklöf 2018-12-29 14:30:09 +01:00
  • 7670473735 bar: call exposable's on_mouse() on mouse motion events Daniel Eklöf 2018-12-29 12:56:10 +01:00
  • 1cb268f2e7 exposable: define an 'on_mouse' interface function Daniel Eklöf 2018-12-29 12:55:03 +01:00
  • e8d8bf70d3 exposable: add a "common" constructor and default destructor Daniel Eklöf 2018-12-29 12:51:31 +01:00
  • acda1a4b21 module: re-order function pointer declarations Daniel Eklöf 2018-12-29 12:49:25 +01:00
  • 4d173326e4 particle: remove 'parent' (it wasn't used anyway) Daniel Eklöf 2018-12-29 12:49:00 +01:00
  • cc654eda57 module/mpd: cleanup Daniel Eklöf 2018-12-28 15:26:22 +01:00
  • 97b279ff82 module/mpd: don't detach refresh thread Daniel Eklöf 2018-12-28 14:22:17 +01:00
  • cc59593f29 module/mpd: idle mask variable is unused, when we don't debug log Daniel Eklöf 2018-12-28 14:15:03 +01:00
  • 0103eff3a0 module/mpd: free album/artist/title before replacing them Daniel Eklöf 2018-12-28 14:14:43 +01:00
  • f2a3deb362 particle/progress-bar: disable debug logging Daniel Eklöf 2018-12-28 14:14:31 +01:00
  • 64af167d66 module/mpd: disable debug logging Daniel Eklöf 2018-12-28 14:14:21 +01:00
  • d8274c2c9c module/mpd: refresh thread only resets refresh_abort_fd if it's "ours" Daniel Eklöf 2018-12-28 14:08:45 +01:00
  • b40069616c module/mpd: refresh_abort_fd now uses -1 to indicate there are is no active thread Daniel Eklöf 2018-12-28 14:08:16 +01:00
  • ba31a557f5 module/mpd: refresh thread calls bar->refresh() directly Daniel Eklöf 2018-12-28 14:07:06 +01:00
  • f74f2ad031 module/mpd: elapsed and duration are now tracked in millseconds Daniel Eklöf 2018-12-28 14:06:13 +01:00
  • 3027b6cd9e particle/progress-bar: add debug log Daniel Eklöf 2018-12-28 14:05:17 +01:00
  • b0f0a1e942 tag: add realtime unit MSECS (milliseconds) Daniel Eklöf 2018-12-28 14:05:02 +01:00
  • 13cc11e200 tag: refresh_in() *must* use the realtime unit Daniel Eklöf 2018-12-28 14:04:35 +01:00
  • 67bd38f5df module/mpd: implement refresh_in() Daniel Eklöf 2018-12-28 12:46:54 +01:00
  • 89ebfa0dbb module/mpd: remember *when* the 'elapsed' member was set. Daniel Eklöf 2018-12-28 12:45:35 +01:00
  • adb70e9f35 particle/progress-bar: force-refresh realtime tags Daniel Eklöf 2018-12-28 12:43:54 +01:00
  • 20b3299afd tag: add a refresh_in() interface function Daniel Eklöf 2018-12-28 12:43:02 +01:00
  • 5008008079 module: add a refresh_in() interface function Daniel Eklöf 2018-12-28 12:42:08 +01:00
  • 1ed0dab6ad config: raise default battery poll interval from 30s to 60s Daniel Eklöf 2018-12-28 12:41:38 +01:00
  • c2e53a6bf7 main: no need for EFD_NONBLOCK Daniel Eklöf 2018-12-28 12:41:21 +01:00
  • 35d7b2bc4a bar: add EFD_CLOEXEC flag to 'ready' eventfd Daniel Eklöf 2018-12-28 12:41:05 +01:00
  • 904f9ff8e1 tag: all tag constructors must now be passed a module 'owner' Daniel Eklöf 2018-12-28 12:40:41 +01:00
  • 8d94202057 particle/progress-bar: renders a progrss-bar-like thingy Daniel Eklöf 2018-12-27 14:22:05 +01:00
  • ce895ac44f particle/empty: placeholder particle, renders nothing Daniel Eklöf 2018-12-27 14:21:33 +01:00
  • 99008c5ad9 module/mpd: "elapsed" tag is now a realtime tag (when state == playing) Daniel Eklöf 2018-12-27 11:44:46 +01:00
  • 025c6991a3 tag: add a new variant of int tags, with a realtime unit property Daniel Eklöf 2018-12-27 11:43:27 +01:00
  • 9a94c9c1f7 module/mpd: monitors MPD Daniel Eklöf 2018-12-27 11:36:38 +01:00
  • 3aa6b21056 particle/string: call particle_default_destroy() Daniel Eklöf 2018-12-26 21:35:39 +01:00
  • ce85ccda56 particle/ramp: call particle_default_destroy() Daniel Eklöf 2018-12-26 21:35:24 +01:00
  • 20fb0c37b5 particle/map: call particle_default_destroy() Daniel Eklöf 2018-12-26 21:35:05 +01:00
  • f5123afc72 particle/list: call particle_default_destroy() Daniel Eklöf 2018-12-26 21:34:53 +01:00
  • 1427d6a98b particle: provide a default destroy() function Daniel Eklöf 2018-12-26 21:34:19 +01:00
  • f65a18b655 particle: initialize 'deco' member to NULL Daniel Eklöf 2018-12-26 21:33:35 +01:00
  • 1b50808da5 bar: set_cursor(): new interface function, to set the X cursor Daniel Eklöf 2018-12-26 17:16:54 +01:00
  • ce68bdb59d exposable: add a 'width' member, set (at latest) in begin_expose() Daniel Eklöf 2018-12-26 16:37:11 +01:00
  • a745436ee2 decoration: stack: stacks multiple decorations on top of each other Daniel Eklöf 2018-12-26 15:59:48 +01:00
  • 09cd27b688 decoration/underline: draws a line at the bottom of the particle Daniel Eklöf 2018-12-26 15:59:16 +01:00
  • 1c9a908a8f particle/string: draw decoration, if available Daniel Eklöf 2018-12-26 15:31:49 +01:00
  • 0e3dd72313 yml: bump anchor vector size Daniel Eklöf 2018-12-26 15:31:37 +01:00
  • 0094cc1269 config: load decorations. All particles may have one Daniel Eklöf 2018-12-26 15:31:16 +01:00
  • 0284f5ac85 decoration: configurable graphical effects, added to a particle Daniel Eklöf 2018-12-26 15:30:47 +01:00
  • 052513c736 particle/ramp: don't use floating point arithmetic Daniel Eklöf 2018-12-26 12:44:26 +01:00
  • 1929099ca4 module/backlight: new module Daniel Eklöf 2018-12-26 12:44:17 +01:00
  • 5306ebd4ed bar: call refresh() after all modules have been loaded Daniel Eklöf 2018-12-26 11:48:09 +01:00
  • 3af0280304 module/xwindow: replace assert with real error check Daniel Eklöf 2018-12-26 11:44:21 +01:00
  • 6d75fe64ef module/xkb: signal module-ready when failing early Daniel Eklöf 2018-12-26 11:42:42 +01:00
  • b2121070f8 module/i3: replace asserts with real error checks Daniel Eklöf 2018-12-26 11:31:28 +01:00
  • 30332670aa module/battery: convert asserts to real error checks Daniel Eklöf 2018-12-25 12:25:24 +01:00
  • d81547066d module/battery: log error message on failure during initialization Daniel Eklöf 2018-12-19 21:12:42 +01:00
  • 3bc4bd56a9 tag: tag_new_string(): allow NULL values (treat as empty string) Daniel Eklöf 2018-12-19 21:01:36 +01:00
  • 7f2c0681a7 log: add LOG_ERRNO() Daniel Eklöf 2018-12-19 21:01:01 +01:00
  • 8897e480c5 log: rename log_class() -> log_msg() Daniel Eklöf 2018-12-19 20:56:26 +01:00
  • 7e95862e12 module/battery: error handling during initialization Daniel Eklöf 2018-12-19 20:54:36 +01:00
  • ffaec546f5 module/xwindow: use lock from generic module Daniel Eklöf 2018-12-19 20:35:43 +01:00
  • 60b72cc55a module/xkb: delay ready signal, until we've actually initialized Daniel Eklöf 2018-12-19 20:29:58 +01:00
  • 661cabfb69 module/i3: use lock provided by generic module Daniel Eklöf 2018-12-19 20:26:15 +01:00
  • 2c7362fefa module/battery: no need to lock before we've signaled ready Daniel Eklöf 2018-12-19 20:24:36 +01:00
  • 3413232ed6 module: add new function module_signal_ready() Daniel Eklöf 2018-12-19 20:23:53 +01:00
  • a3eb7ebc08 bar: wait for all modules to have started up before continuing Daniel Eklöf 2018-12-19 19:41:25 +01:00
  • 7f0f096ba4 module: begin_expose() and content() take a non-const module pointer Daniel Eklöf 2018-12-19 19:03:19 +01:00
  • b579f97db7 module/xwindow: use module common constructor/destructor Daniel Eklöf 2018-12-19 19:00:29 +01:00
  • f8cb3acc35 module/xkb: use module common constructor/destructor Daniel Eklöf 2018-12-19 18:59:33 +01:00
  • 20cb0f0de7 module/label: use module common constructor/destructor Daniel Eklöf 2018-12-19 18:58:10 +01:00
  • 536db672b4 module/i3: use module common constructor/destructor Daniel Eklöf 2018-12-19 18:57:19 +01:00
  • 16553a7216 module/battery: acquire lock when reading/writing state Daniel Eklöf 2018-12-18 20:24:30 +01:00
  • d279b585db module/battery: read all data into local variables first Daniel Eklöf 2018-12-18 20:23:19 +01:00
  • f253bbebd2 module/battery: we're scanning into a signed long Daniel Eklöf 2018-12-18 20:22:48 +01:00
  • 76995ddcd5 module/battery: use module common constructor and default destructor Daniel Eklöf 2018-12-18 20:22:30 +01:00
  • 72624af1fa clock: use module common constructor and destructor Daniel Eklöf 2018-12-18 20:13:04 +01:00
  • edc418b22d module: provide a "common" constructor and destructor Daniel Eklöf 2018-12-18 20:12:04 +01:00
  • 3618b863ff module/i3: lower case initial letter in log message Daniel Eklöf 2018-12-18 20:00:03 +01:00
  • 0f5d626177 config: list has a default right-spacing of 2 Daniel Eklöf 2018-12-18 19:52:36 +01:00
  • 6db41b7803 module/xkb: initialize layouts to zero Daniel Eklöf 2018-12-18 19:49:05 +01:00
  • 47f5c5d655 log: dim module name / file name + line number Daniel Eklöf 2018-12-18 19:46:13 +01:00
  • b3a3990347 bar: log *which* event that is unimplemented Daniel Eklöf 2018-12-18 19:42:47 +01:00
  • 7cc1fa9cef log.c: align module name Daniel Eklöf 2018-12-18 19:41:08 +01:00
  • 5e80cf2204 log: only enable debug logging if LOG_ENABLE_DBG has been set to 1 Daniel Eklöf 2018-12-18 19:40:34 +01:00
  • a588c78e57 particle/ramp: use log framework Daniel Eklöf 2018-12-18 19:37:37 +01:00
  • 1c708975eb module/xkb: use log framework Daniel Eklöf 2018-12-18 19:37:30 +01:00
  • 1fa5baf8b7 module/i3: use log framework Daniel Eklöf 2018-12-18 19:37:22 +01:00
  • 2fdd419600 module/battery: use log framework Daniel Eklöf 2018-12-18 19:37:10 +01:00
  • 452669d6de bar: lower case initial letter in log message Daniel Eklöf 2018-12-18 19:37:03 +01:00
  • 817ce49e3b bar: use log framework Daniel Eklöf 2018-12-18 19:24:26 +01:00
  • 8ae89820db bar: use log framework Daniel Eklöf 2018-12-17 20:29:25 +01:00
  • 33ffe02244 log: allow logging of format string only, no format arguments Daniel Eklöf 2018-12-17 20:28:49 +01:00
  • f1f3190767 yml: don't print out final node(s) Daniel Eklöf 2018-12-17 20:26:02 +01:00
  • f1cd75ecb9 xcb: use new log framework Daniel Eklöf 2018-12-17 20:25:27 +01:00
  • d516ffdda0 log: initial framework for logging things Daniel Eklöf 2018-12-17 20:25:18 +01:00
  • c1e71eca60 make: add global definition _DEBUG when building in debug mode Daniel Eklöf 2018-12-17 20:24:47 +01:00
  • e0bd7abec6 config: battery: use name from config, instead of hardcoded "BAT0" Daniel Eklöf 2018-12-17 19:59:44 +01:00
  • ef594b877b module/xkb: monitor current xkb layout Daniel Eklöf 2018-12-17 19:59:29 +01:00
  • d600960d69 cmake: sort Daniel Eklöf 2018-12-16 19:17:43 +01:00
  • e186c3447d module/battery: remove unused left/right spacing options Daniel Eklöf 2018-12-16 19:17:14 +01:00
  • 0df1df2207 config: sort includes Daniel Eklöf 2018-12-16 19:16:25 +01:00