Commit Graph

10699 Commits

Author SHA1 Message Date
Aire-One cafd6526fe chore(editorconfig): add yml config 2022-03-23 20:07:27 +01:00
Aire-One c578142376 chore(codecov): add base config 2022-03-23 20:07:27 +01:00
Actionless Loveless c539e0e435
hotkeys_popup: expose labels and remove unused backspace translation (#3585)
the actual key is BackSpace, not Backspace, so this translation was always unused


Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>
2022-03-21 18:09:49 +01:00
Actionless Loveless 86f67f4e08
fix(gh-actions): s/git_url/clone_url/g (#3593) 2022-03-20 18:56:13 +01:00
Aire-One 392dbc21ab
[CI] Run `Run examples tests` on every supported Lua Version (#3575)
* ci(main) always run `Run examples tests`

* fix(font1) print with string.format
2022-03-06 14:04:50 +01:00
Aire-One 22dedf77dc
fix(mergify) check-success (#3570)
It seems like Mergify doesn't pick up success status of our GitHub
Actions. Looking at the doc
https://docs.mergify.com/conditions/#github-action, the conditions rule
should be `check-success`, but we have `status-success`.
2022-03-05 12:12:14 -08:00
sarubo 9895aeb0d5
fix(placement) bad argument to 'field' (#3572)
RectangleInt must use integer
Remove float from RectangleInt
2022-02-25 19:34:51 +01:00
Uli Schlachter bd776c9801
Merge pull request #3566 from staticssleever668/refactor/remove_mouse_finder_remnants
theme: remove mouse finder remnants
2022-02-15 16:29:37 +01:00
Aire-One e260696826
Merge pull request #3564 from pepijnKrijnsen/parse_color
Update documentation for gears.color.parse_color(col) method
2022-02-14 19:25:01 +01:00
Aire-One c39c61f775
Merge pull request #3565 from pepijnKrijnsen/constraint-doc
Correct width and height documentation
2022-02-14 19:06:21 +01:00
Yaroslav Chvanov 8abc99f35f
refactor(theme): remove mouse finder remnants
It was removed back in Awesome v4.0 in 2016.
2022-02-13 15:49:40 +03:00
Pepijn Krijnsen fd22d51207 Correct width and height documentation
The constraint:set_width function listed ‘height’ as a required parameter; the constraint:set_height function listed ‘width’ as a required parameter. Swapped those around.
2022-02-12 21:10:42 +00:00
Pepijn Krijnsen 53b70b4585 Update documentation for gears.color.parse_color(col) method
Lua comments now accurately describe the return values of this method.
Added a more comprehensive example, too. Issue #3555
2022-02-12 21:04:21 +00:00
SystematicError 86b6c49a0f
Fix typo (#3562)
Co-authored-by: SystematicError <systematicerror@users.noreply.github.com>
2022-02-07 11:08:08 -08:00
Actionless Loveless 2d6244f944
doc(progressbar): sanitize paddings/margins (#3556) 2022-02-03 13:25:05 +01:00
Emmanuel Lepage Vallée a1f58ab97c
Merge pull request #3553 from Aire-One/feat/lua54
Supports Lua 5.4
2022-02-02 14:08:50 -08:00
Xinhao Yuan ab6f7e03ca
Relocate a client window as if it is undecorated when reparenting it back. It eliminates the position offset due to re-decorating when a client trys to restore its previous position. (#3253)
Add tests for geometry changes when managing/unmanaging clients. Also verified that it fixed issue #2308.
2022-02-02 22:59:01 +01:00
Aire-One b807bbae56 fix(awesome) randomness
Close #3123, close #3124
Co-authored-by: Emmanuel Lepage Vallee <elv1313@gmail.com>
2022-01-22 17:48:40 +01:00
Aire-One d0b9938da1 fix(gh-actions) LGI install to Lua 5.4 location 2022-01-22 17:48:22 +01:00
Aire-One c330413c21 fix(gh-actions) Lua 5.4 lib 2022-01-22 17:48:08 +01:00
Aire-One 12262322c4 chore: Allow Lua 5.4 to build and run
Co-authored-by: Emmanuel Lepage Vallee <elv1313@gmail.com>
2022-01-22 17:47:57 +01:00
Aire-One a826d79682 bump(gh-actions) luarocks 3.8.0
Luarocks have some fixes to support Lua 5.4. We need to use the
latest version.
2022-01-22 15:40:09 +01:00
Aire-One a4ca3fdd43 add(gh-actions) Lua5.4 Build and Install LGI step
The latest packaged version of LGI doesn't support Lua 5.4. We need
to build the git master version.
2022-01-22 15:40:09 +01:00
Aire-One 50c3301357 add(gh-actions) Build and Install Lua 5.4 step
Ubuntu 20.04 hasn't a Lua 5.4 package. For now, GitHub actions run
with this version of Ubuntu. We can manually build and install
Lua 5.4 in the pipeline, waiting for GitHub to release a newer
version of Ubuntu for their Actions.
2022-01-22 15:40:09 +01:00
Aire-One b6b9a770a3 add(gh-actions) Lua 5.4 matrix 2022-01-22 15:40:09 +01:00
tuwuna cd4008c249
Refocus focused window for focus in events on the root window. (#3543)
This deals with (admittedly somewhat misbehaving) clients which
use XSetInputFocus to take focus, but then don't properly restore
focus. This has been observed with TK apps, but also, e.g., Steam.

Ported from a06e66982b by @psychon 

Fixes https://github.com/awesomeWM/awesome/issues/3379
2022-01-22 03:28:24 -08:00
Xinhao Yuan 21b908bef9
Fix a regression that only property::x and property::width are emitted when all {x,y,width,height} properties are changed. (#3537) 2021-12-30 13:23:44 -08:00
Xinhao Yuan b49a53f6dd
Multi-row support of systray by taking a beautiful variable specifying the maximum number of rows to fill per column. (#3520)
Also, fix the fitting logic so that the result width and height are fitted in the available space. Previously the result dimensions can be larger than the input, but cropped in e7a21947e6/lib/wibox/widget/base.lua (L547). But still it can cause problems e.g. when used inside wibox.container.place.
2021-12-30 13:22:31 -08:00
HumblePresent 7451c6952e
fix: Docs update to specify rule callback as being run before properties applied
fix(rule_callback): Docs update to specify rule callback as being run before
properties applied
2021-12-23 14:02:24 -08:00
Emmanuel Lepage Vallée 1413f0c4b9
Merge pull request #3513 from necauqua/fix-timer
Signalled error: bad argument #3 to 'timeout_add' (number has no integer representation)
2021-12-22 12:52:07 -08:00
Emmanuel Lepage Vallée 790e535017
Merge pull request #3529 from sclu1034/feature/docs
Various docs improvements
2021-12-22 12:05:43 -08:00
Lucas Schwiderski 1ab0f892d2
feat(spec): Create visual error for widget layout tests (#3530)
The assert for `widget:layout` now visualizes the expected and actual
widget structure for comparison.

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-12-21 14:51:22 -08:00
Grzegorz Bednarski f353499230
Support minimized client property in tasklist icons (#3526) 2021-12-21 11:48:53 -08:00
Lucas Schwiderski 632b0c0d7b
docs: Add code styling for first line in item descriptions
LDoc doesn't wrap the first line/paragraph of an item's description
in `<p>` tags, so the previous style rules wouldn't apply to them.
2021-12-21 16:34:26 +01:00
Lucas Schwiderski 1953c97ce3
docs: Add code styling for parameter default values 2021-12-21 16:33:54 +01:00
Lucas Schwiderski 1dd1e2c994
docs: Remove "last updated" timestamp
The setup to have fixed values for the calendar widget examples
broke the timestamp, and it would always show the same date.
Additionally, even the v4.3 doc was last updated this year (2021),
while there was no change to that version's code in three years.
2021-12-21 15:03:30 +01:00
Lucas Schwiderski 5ac0829f5d
docs(w.w.slider): Add value signal to initial example
Since the primary use case of the slider widget is to do something
with the value when it changes, the initial example should show
how to do that.
2021-12-21 11:55:36 +01:00
Lucas Schwiderski e55d1d41f3
docs(g.timer): Fix typo 2021-12-21 10:46:43 +01:00
Lucas Schwiderski e4afd437e4
docs(mousegrabber): Prevent Markdown parsing in identifier names 2021-12-21 10:25:05 +01:00
Lucas Schwiderski b343cb8111
docs(g.timer): Improve wording 2021-12-21 09:09:09 +01:00
Lucas Schwiderski 7b13f80778
docs(ruled): Fix incorrect property documentation
Commit history suggests that this was just a mistake when writing
the file. Nothing suggests that the implementation was supposed to
changed instead.
2021-12-21 08:38:19 +01:00
Lucas Schwiderski 869e63fcdc
doc(w.w.textbox): Make alignment property descriptions consistent
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-12-14 19:09:42 +01:00
Aire-One 70524e72fa
Merge pull request #3519 from HumblePresent/fix_notif_register
Apply presets before registering notification
2021-12-09 21:11:17 +01:00
Actionless Loveless 1932bd017f
doc(readme): link to building and testing (fixes #3514) (#3515) 2021-11-28 14:59:51 -08:00
HumblePresent 030073fee7 Apply presets before registering notification 2021-11-26 13:22:58 -06:00
Anton Bulakh 71d08ab6ec
Use gmath.round 2021-11-23 08:45:52 +02:00
Anton Bulakh e963d37cc4
Fix widget repaint printed errors 2021-11-22 12:39:16 +02:00
Anton Bulakh e64446082b
Fix timer errors 2021-11-22 12:24:20 +02:00
Emmanuel Lepage Vallée e7a21947e6
Merge pull request #3509 from Aire-One/fix/3508
[doc] Small improvements on the client's icons documentation
2021-11-21 12:01:39 -08:00
Emmanuel Lepage Vallée d328f92fdb
Merge pull request #3503 from sarubo/make_markup_available
fix: make markup available
2021-11-21 12:01:06 -08:00