Commit Graph

10166 Commits

Author SHA1 Message Date
Uli Schlachter 4dc4b7d4d3 error: lib/gears/timer.lua:94: bad argument #3 to 'timeout_add' (number has no integer representation) 2020-08-03 18:09:53 +02:00
multiSnow 1377880611 only use int random number for math.randomseed
[This commit was cherry-picked from
https://github.com/awesomeWM/awesome/pull/3124)
2020-08-03 18:04:07 +02:00
Uli Schlachter cd79080e70 Too lazy to fix Lua, so fix other stuff 2020-08-03 17:56:40 +02:00
Uli Schlachter 5ccfed22e6 Sigh 2020-08-03 17:53:00 +02:00
Uli Schlachter e34c07fbb7 I want to see the error message!!! 2020-08-03 17:49:38 +02:00
Uli Schlachter 8584cee424 Another ugly hack to get Travis to show output 2020-08-03 17:47:01 +02:00
Uli Schlachter 3dec16fb23 Revert "I want shorter build logs"
This reverts commit db169cec66.
2020-08-03 17:43:25 +02:00
Uli Schlachter cd77d65c67 Revert "Get rid of xcb-util-xrm"
This reverts commit 50817ae8b8.
2020-08-03 17:43:04 +02:00
Uli Schlachter 9bc10886e4 More copying 2020-08-03 17:40:50 +02:00
Uli Schlachter 62100c9d85 Copy lgi setup from actionless 2020-08-03 17:38:07 +02:00
Uli Schlachter 703d5eee41 Sigh 2020-08-03 17:35:39 +02:00
Uli Schlachter 4d3cd6f006 Use a LuaRocks version that works with Lua 5.4 2020-08-03 17:33:40 +02:00
Uli Schlachter 50817ae8b8 Get rid of xcb-util-xrm 2020-08-03 17:29:21 +02:00
Uli Schlachter 7fb82e695f Ahh, I mistyped the folder name 2020-08-03 17:29:03 +02:00
Uli Schlachter 223b354a21 Remove verbose to have less output 2020-08-03 17:26:38 +02:00
Uli Schlachter 8ef78b25d7 Dear travis, please show me the error message 2020-08-03 17:25:13 +02:00
Uli Schlachter 2e3bf41e81 I also want Travis to show the full build log... 2020-08-03 17:16:57 +02:00
Uli Schlachter db169cec66 I want shorter build logs 2020-08-03 17:16:19 +02:00
Uli Schlachter 1ecd738163 WIP sigh 2020-08-03 17:14:15 +02:00
Uli Schlachter 637b5dbb88 WIP: A Lua 5.4 travis build
This is a partial revert of commit b67e0a123c.
2020-08-03 17:11:25 +02:00
mergify[bot] 5d1394b91d
Merge pull request #3041 from SethBarberee/tag_gap_doc
[Doc] add example for master_count in awful.tag
2020-03-20 12:46:16 +00:00
Seth Barberee 6d24dc2ab7 add example for master_count 2020-03-20 01:00:53 -05:00
mergify[bot] 8ef75281f4
Merge pull request #3023 from SethBarberee/hotkeys_awful_popup
convert hotkeys_popup to awful.popup instead of wibox
2020-03-19 22:31:23 +00:00
Seth Barberee 5c7574bce8 convert hotkeys_popup to awful.popup instead of wibox 2020-03-19 10:51:51 -05:00
Emmanuel Lepage Vallée 2da1cb9ba0
Merge pull request #3040 from Elv13/notif_icons_v3
[RFC] Redesign how notification icons are handled.
2020-03-18 21:35:29 -07:00
Emmanuel Lepage Vallée b656991027
Merge pull request #3011 from ArenaL5/lua2c
Extending the C API to query the name of a key
2020-03-17 03:06:27 -04:00
Emmanuel Lepage Vallee 9601cf4a89 naughty: Plug to the permission system.
This allows to control which kind of icon actions can be done
on individual notifications. Once the second part of the permission
system will be merged, this will mostly be used in `ruled.notification`.
2020-03-16 04:46:51 -04:00
Emmanuel Lepage Vallee 4492a37885 naughty: Use a request handler to clear the notification icon. 2020-03-16 04:45:52 -04:00
Emmanuel Lepage Vallee 64fb498422 tests: Test the newly added notification icon request handlers. 2020-03-16 04:44:15 -04:00
Emmanuel Lepage Vallee c75203ac03 naughty: Handle icon paths with file:// in them. 2020-03-16 04:44:11 -04:00
Emmanuel Lepage Vallee 32fd11a220 naughty: Move the get_icon implementation to 2 request handlers.
They can now be disconnected or extended.
2020-03-16 04:44:10 -04:00
Emmanuel Lepage Vallee 9e19e7a18c tests: Test naughty request::icon. 2020-03-16 04:43:55 -04:00
Emmanuel Lepage Vallee c3cdac368d naughty: Stop request::icon as soon as there is an icon. 2020-03-16 04:43:53 -04:00
Emmanuel Lepage Vallee 625b9c8901 object: Add a private API to optimize chain of responsibilities.
Currently, emit_signal always call all connected function. However,
it is very wasteful for some I/O intensive operations like icon
lookup. This commit adds a trick (private API) to stop once
a condition is met.

It will also in the future be used for the permission system, but
this is not yet implementd.
2020-03-15 04:08:06 -04:00
Emmanuel Lepage Vallee a3c37382be naughty: Add a new request::icon for the main icon.
My initial implementation was overly optimistic. It turns out there
is no end in sight to "correctly" support icons. Apps randomly use
XDG name, paths and URLs. Rather than baloon the size of the
implementation, this commit moves toward to request:: pattern
found in other APIs. This will allow people who wish to "fix"
specific icons to do so in a way that scales.

The next 2 commits will move the current implementation to request
handlers.
2020-03-15 03:35:40 -04:00
Emmanuel Lepage Vallee 9cf717b994 naughty: Replace request::icon by request::action_icon.
It wasn't a good idea to use ::icon because sometime the notification
themselves needs to request assistance for their icons.
2020-03-14 20:21:35 -04:00
ArenaL5 e5566c0415 Add a test for awesome.get_key_name()
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-03-14 19:33:04 -04:00
ArenaL5 e7436f132f Expose get_key_name under awful.keyboard as suggested by @Elv13
and change comments and declaration style to match the rest of the codebase

Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-03-14 19:33:04 -04:00
ArenaL5 515867d42f Fix luaa.c following suggestions from @psychon
Also remove a file that at the end really was unnecessary `xkb_utf32_to_keysym.h`
2020-03-14 19:04:08 -04:00
ArenaL5 131b25473f Integration of `get_key_name()` in `hotkeys_popup`
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-03-14 19:04:08 -04:00
ArenaL5 8bac3a4acb Add C API to query keys
`awesome.get_key_name()` accepts a key in any format that `awful.key()` understands (querying current locale configuration if fed a keycode), and returns its keysym name and printable representation, if any.

This method is based in development code from xkbcommon/libxkbcommon that has not yet been released in a stable API; for this reason, code from 0345aba082 has been copied into a new C file.

Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-03-14 19:04:08 -04:00
mergify[bot] 19b8e176bb
Merge pull request #3037 from hoelzro/master
Fix broken link to Pango markup documentation
2020-03-13 06:10:05 +00:00
Rob Hoelz 1637e03dad Fix broken link to Pango markup documentation 2020-03-12 21:19:22 -05:00
Emmanuel Lepage Vallée 1e1f5380a6
Merge pull request #3029 from Elv13/notification_markup
Fix most reported notification issues.
2020-03-09 14:16:35 -04:00
Emmanuel Lepage Vallee b8e00b245f tests: Trigger the widget "update content" code path. 2020-03-08 20:14:53 -04:00
Emmanuel Lepage Vallee 21cb4037bc naughty: Fix updating the icon of DBus notification when passed by path. 2020-03-08 19:44:16 -04:00
handsome0hell e5b12877b9 use user specified permission.
User settings should override default behavior.
2020-03-08 05:04:40 -04:00
Emmanuel Lepage Vallee 97e403b4e9 naughty: Correctly scale large square icons.
Fix #3005
2020-03-07 21:34:02 -05:00
Emmanuel Lepage Vallee a69b6123b8 naughty: Fix updating `naughty.widget.icon`.
It was never call, untested and obviously broken...
2020-03-07 21:34:02 -05:00
Emmanuel Lepage Vallee d5b652973f naughty: Emit `property::icon` when the `image` or `images` change.
This way updating the icon at least *can* work.
2020-03-07 21:34:02 -05:00