Commit Graph

446 Commits

Author SHA1 Message Date
Michael Carlberg
83ae9f6435 fix(xbacklight): Allow larger property values
Not all backlight values are within 8 bit range
so do not truncate property values
2016-10-25 16:40:01 +02:00
Michael Carlberg
ee92c30ff4 fix(ci): Update build script 2016-10-25 14:03:21 +02:00
Michael Carlberg
9496e9aa22 feat(logger): trace_x() for verbose trace logging 2016-10-25 13:10:34 +02:00
Michael Carlberg
a2af30a494 fix(ci): Disable gcc and install libc++ packages 2016-10-25 13:02:49 +02:00
Michael Carlberg
6a710b03e4 aur: Update build files 2016-10-25 09:41:38 +02:00
Michael Carlberg
d9b39c9270 git: Update submodule refs 2016-10-25 09:35:37 +02:00
Michael Carlberg
f03bca6df3 fix(cmake): Add libc++ linker flag 2016-10-25 09:22:28 +02:00
Michael Carlberg
e239140db7 build: Bump version to 2.1.0 2016-10-25 08:59:14 +02:00
Michael Carlberg
2776155794 fix(volume): Proper handling of module events
When processing module events, a new instance for each
mixer is created so that the module event loop will receive
the mixer update events.

Closes jaagr/lemonbuddy#116
Closes jaagr/lemonbuddy#89
2016-10-25 08:53:55 +02:00
Michael Carlberg
4b2c73452c fix(ramp): Always load ramp fallback values 2016-10-25 08:53:40 +02:00
Michael Carlberg
7a1193c698 fix: Increase SIGKILL termination timer 2016-10-25 08:45:21 +02:00
Michael Carlberg
d2187f44e0 refactor(drawtypes): Cleanup and fixes 2016-10-25 07:10:05 +02:00
Michael Carlberg
a0f0fc8723 refactor: Add module::halt(error) 2016-10-25 07:07:24 +02:00
Michael Carlberg
bc67e64e79 feat: Add math_util::percentage_to_value 2016-10-25 07:05:01 +02:00
Michael Carlberg
7905f37462 refactor(di): Move configure_T() to anonymous ns 2016-10-25 01:55:59 +02:00
Michael Carlberg
bcf9249dc7 refactor: Use plain std::function callbacks
Replace fastdelegate with plain std::function's because
of incomplete clang support
2016-10-25 01:51:57 +02:00
Michael Carlberg
6b9d162981 git: Remove header symlink 2016-10-25 01:47:35 +02:00
Michael Carlberg
769a3debe7 refactor(tests): Drop CppUnit 2016-10-25 01:47:00 +02:00
Michael Carlberg
9e22b3e693 refactor(cmake): Target libc++ 2016-10-25 01:46:35 +02:00
Michael Carlberg
74486d6223 git: Remove fastdelegate headers 2016-10-25 01:36:42 +02:00
Michael Carlberg
c6090033cc git: Update submodule refs 2016-10-25 01:34:55 +02:00
Michael Carlberg
56b4657c3f feat: New module xbacklight
Better implementation for showing backlight information.
This one is using the XRandR extension instead of
reading from the raw file handlers.
2016-10-19 14:46:44 +02:00
Michael Carlberg
3a5ee90bb5 fix(string_util): Type error 2016-10-19 10:10:28 +02:00
Michael Carlberg
3c0cc72c55 fix(config): Test type and not value 2016-10-19 10:06:29 +02:00
Michael Carlberg
94ded75756 feat(config): Reference values defined in Xresources
Add config tag to reference a value defined in the Xresource db

`parameter = ${xrdb:var_name}`
2016-10-19 09:16:09 +02:00
Michael Carlberg
3eb531b6b5 build: Bump version to 2.0.1 2016-10-19 06:07:55 +02:00
Michael Carlberg
d879d6d42e fix: Throttle X input events
- Limit the amount of allowed input events
- Yield on lock failure
- Cleanup
2016-10-19 06:03:01 +02:00
Michael Carlberg
adf18108c3 build: Use -O1 for release builds
Optimize less to not break the code.
Still some undefined behaviour that are messing
with builds using -O3
2016-10-19 02:21:26 +02:00
Michael Carlberg
1c882508ec fix: Drop superflous prefix when throwing module_error 2016-10-19 02:15:52 +02:00
Michael Carlberg
f8e1c62a83 fix(aur): Malformed source entry
Fixes jaagr/lemonbuddy#107
2016-10-19 01:59:35 +02:00
Michael Carlberg
86d2186f89 cmake: Commands for clang-[tidy|format] 2016-10-19 01:31:17 +02:00
Michael Carlberg
68f72d69cc refactor: Drop tokenized labels
Handle placeholder tokens inside each label
instead of cloning into a new instance each time
2016-10-19 01:31:17 +02:00
Michael Carlberg
37e367eb79 fix(string_util): Prevent replace_all lock 2016-10-19 01:31:17 +02:00
Michael Carlberg
7e960a3966 fix(script): Rerun tail script when done
- Improve handling of command life time proc
- Restart tail command on successful completion
- Should fix jaagr/lemonbuddy#105
2016-10-19 01:31:05 +02:00
Michael Carlberg
20ca754629 wip: Rewrite manpages for 2.0 2016-10-18 18:40:47 +02:00
Michael Carlberg
3980e6d358 build: Drop -beta postfix 2016-10-18 18:02:06 +02:00
Michael Carlberg
01c5dcb6b7 fix: Guarded module teardown 2016-10-18 17:55:34 +02:00
Michael Carlberg
f09858a1ed fix(controller): Checked request to update root window event mask 2016-10-18 17:53:10 +02:00
Michael Carlberg
5323167b1e fix(xrandr): Ignore harmless extension errors
Closes jaagr/lemonbuddy#106
2016-10-18 17:31:58 +02:00
Michael Carlberg
65b921ecd9 fix: Less verbose debug logging for %{A} 2016-10-18 12:22:14 +02:00
Michael Carlberg
32579df73b git(i3ipcpp): Reference v0.4.1 2016-10-18 12:12:33 +02:00
Michael Carlberg
5fd8c50dde fix(i3): Shutdown on socket disconnect 2016-10-18 11:49:13 +02:00
Michael Carlberg
df93cabf22 fix: Acquire lock when stopping modules 2016-10-18 10:35:15 +02:00
Michael Carlberg
5796bde25d fix(network): Acquire lock on cleanup 2016-10-18 10:22:48 +02:00
Michael Carlberg
82f311b695 refactor(network): Code cleanup
- Cleanup of network module and adapter
- Check operstate instead of carrier when testing the
  the current connection state, as suggested by @patrick96 in #44
- Separate signal quality and signal strength
- Log failed attempt to query device driver
2016-10-18 09:41:20 +02:00
Michael Carlberg
334dc7731d fix(string_util): Ensure find != replace 2016-10-18 06:29:25 +02:00
Michael Carlberg
d7d953d40a fix(string_util): Proper squeezing 2016-10-18 06:22:44 +02:00
Michael Carlberg
4d24097092 fix(docs): Add libcx11-xcb-dev to the list of dependencies 2016-10-17 05:59:13 +02:00
Michael Carlberg
de0c3eb46a fix(parser): Support default button index for actions
Defining an action without a button index caused a segfault since
the parser was treating it as the close of a previously opened action
block. This makes the parser use button LEFT as a fallback.

Also ensure that an action block has been opened before
attempting to close the block.

Fixes jaagr/lemonbuddy#104
2016-10-17 05:55:03 +02:00
Michael Carlberg
3d30aba0e9 fix(volume): Make sure handled event get broadcasted 2016-10-17 03:43:56 +02:00