Commit Graph

10578 Commits

Author SHA1 Message Date
Lucas Schwiderski 8d88f1fa52
feat(github_actions): Revert HOME back to /dev/null
Turns out this bit was never actually needed to fix the issue that they
were expected to fix.

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-08 22:45:29 +02:00
Lucas Schwiderski cfe7da8526
feat(github_actions): Simplify timeout calculation
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-08 22:10:06 +02:00
Lucas Schwiderski 4d83228f00
bug(github_actions): Fix date for apidoc examples.
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-08 22:10:05 +02:00
Lucas Schwiderski 1867ab057c
feat(github_actions): Use tag to pin xcb-errors
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-08 22:10:04 +02:00
Lucas Schwiderski dc8108eff7
feat(github_actions): Update Mergify rule
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:10:19 +02:00
Lucas Schwiderski bccaac9b2f
fix(github_actions): Skip failed boilerplate commit
This ports the change from #3317.

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:07 +02:00
Lucas Schwiderski 6a3713a090
feat(github_actions): Install lua-discount
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:05 +02:00
Lucas Schwiderski d9711c3f48
feat(github_actions): Improve test
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:04 +02:00
Lucas Schwiderski 857b7199d6
feat(github_actions): Improve readability
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:03 +02:00
Lucas Schwiderski e7239840f4
docs(github_actions): Remove Travis references
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:02 +02:00
Lucas Schwiderski 8334f9c1b1
feat(github_actions): Improve logs
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:01 +02:00
Lucas Schwiderski 717d09aa94
feat(github_actions): Move xcb-errors commit ID to envvar
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:05:00 +02:00
Lucas Schwiderski 645156b3c0
feat(github_actions): Consolidate apt cache directory
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:59 +02:00
Lucas Schwiderski 9bc8c28c90
chore(github_actions): Clean up variables and expressions
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:58 +02:00
Lucas Schwiderski 33ee8c09ba
fix(github_actions): Remove redundant job matrix definitions
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:57 +02:00
Lucas Schwiderski 87b717495f
fix(github_actions): Add modelines
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:56 +02:00
Lucas Schwiderski 4b37eb6b50
chore(github_actions): Remove Travis files
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:56 +02:00
Lucas Schwiderski f74a838506
feat(github_actions): Add workflow to update API docs
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:55 +02:00
Lucas Schwiderski 674ee00437
feat(github_actions): Unify Lua code coverage uploads
From testing it seems that uploading after individual tests has no
benefit over one upload at the end.

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:54 +02:00
Lucas Schwiderski 3fbcfc8553
feat(github_actions): Drop support for old LGI version
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:53 +02:00
Lucas Schwiderski 5c3b739c25
fix(github_actions): Fix clients lingering into subsequent tests
On GitHub Actions, clients created in some tests take too long to close
and still exist when the next test has started. This can affect certain
tests that rely on a specific client count or simply produce a race
condition within `scan` in `awesome.c`.

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:04:48 +02:00
Lucas Schwiderski 8f39fb61bd
feat(github_actions): Add initial workflow
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-05-06 20:01:21 +02:00
mergify[bot] a4572b9b52
Merge pull request #3238 from ShayAgros/master
Fixed wrong handling of negative spacing in layout.fixed
2021-04-29 06:45:50 +00:00
mergify[bot] 4c46f6dbf3
Merge pull request #3335 from Elv13/imagebox
Extend wibox.widget.imagebox to encompass the required wallpaper API features
2021-04-28 18:39:03 +00:00
Emmanuel Lepage Vallee c355ce7d96 tests: Test the imagebox 2021-04-28 00:14:17 -07:00
Emmanuel Lepage Vallee 5cfcbac959 imagebox: Extend to add enough knobs for the wallpaper API.
* horizontal/vertical scaling/stretch
 * max scaling factor
 * vertical/horizontal align instead of hardcoded top-left
 * scaling_quality, if Cairo cooperates

It also fixes the clip_shape when resize = false.
2021-04-28 00:06:08 -07:00
mergify[bot] 42d241c707
Merge pull request #3332 from Elv13/tile_container2
Tile container
2021-04-26 11:37:20 +00:00
mergify[bot] 35e0acbccb
Merge pull request #3185 from actionless/hotkeys-popup-better-split-key-labels
Hotkeys popup: better split key labels for multiple keys per one action
2021-04-26 09:15:58 +00:00
Uli Schlachter d2dc428e56
Fix _NET_CURRENT_DESKTOP ClientMessage handling (#3237)
This was broken in commit c5202a4870 by adding an extra string
to the Lua stack. Hence, the offset -1 now referred to the string and
not the tag.

Fixes: https://github.com/awesomeWM/awesome/issues/3236
Signed-off-by: Uli Schlachter <psychon@znc.in>
2021-04-25 15:33:39 -07:00
actionless 5bd0ff82a6 fix(wibox: textbox): remove ldoc tags added by merge mistake 2021-04-25 20:55:44 +02:00
Emmanuel Lepage Vallee ee0d793efe doc: Document the place container. 2021-04-24 23:28:18 -07:00
Emmanuel Lepage Vallee dd26b8180d doc: Document the tile container. 2021-04-24 23:28:18 -07:00
Emmanuel Lepage Vallee 738e2e0467 container: Add a tile container.
It will be used for the new awful.wallpaper module. The idea is to
first close the gap with `gears.wallpaper` before it gets deprecated.
2021-04-24 23:28:18 -07:00
Emmanuel Lepage Vallee d373bf2d05 widget: Emit "property::widget"
For consistency.
2021-04-24 23:28:18 -07:00
Emmanuel Lepage Vallee 78b8756068 place: Split internal logic to be reusable.
This will become the base class of a new "tile" container.

I also fixed a bug which could cause the output to be blurry for
some widget sizes.
2021-04-24 23:28:18 -07:00
Emmanuel Lepage Vallee 6a4e555ae1 slider: Fix an aliasing issue.
There was a bunch of `math.floor` missing. Some slider size were blurry.
2021-04-24 23:28:18 -07:00
mergify[bot] c8d3de3ff4
Merge pull request #3325 from ShayAgros/fail_lua_54
Fail awesome compilation for Lua5.4 or newer (#3324)
2021-04-23 07:00:28 +00:00
actionless 6b93661048 fix(awful: hotkeys_popup: insert_keys): handle case when user actually binded some key like `<` or `>` which require xml escape for pango 2021-04-23 07:52:17 +02:00
Yauhen Kirylau a35acea61a
Merge branch 'master' into hotkeys-popup-better-split-key-labels 2021-04-23 07:23:26 +02:00
Emmanuel Lepage Vallée 47fd7797b4
Update luaa.h
Co-authored-by: ShayAgros <37025016+ShayAgros@users.noreply.github.com>
2021-04-21 22:52:35 -07:00
ShayAgros ba923cb80d
Remove word duplication
Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>
2021-04-21 10:49:44 +03:00
Shay Agroskin 1916677df1 List what Lua versions supported instead of which aren't
When skimming over the source code, it might be easier for coders to see
what lua versions are supported, instead aren't. This doesn't have any
functional impact

Signed-off-by: Shay Agroskin <agrosshay@gmail.com>
2021-04-21 10:04:18 +03:00
Shay Agroskin 3f4b1bd0cc Fail awesome compilation for Lua5.4 or newer (#3324)
Awesome doesn't support these versions. Preventing the project from
compiling with it saves the users some very frustrating and hard to
debug bugs.

The cmake version check is redundant with the version check in luaa.h.
Nevertheless, adding it allows to fail the project build sooner and
provides better user experience.

Fixes: #3324

Signed-off-by: Shay Agroskin <agrosshay@gmail.com>
2021-04-21 10:04:18 +03:00
mergify[bot] fda950d186
Merge pull request #3263 from Aire-One/doc_textclock
[doc] Improve wibox.widget.textclock format documentation
2021-04-07 09:59:08 +00:00
Emmanuel Lepage Vallee e3ab76b872 debug: Print *why* the build fails. 2021-04-07 01:38:53 -07:00
Aire-One 6226742f72 doc(wibox.widget.textclock): Widget definition. 2021-04-07 01:38:53 -07:00
Aire-One 9807ccd5e0
fix(ldoc.ltp): extra-header tag arrangement (#3318) 2021-04-05 09:42:15 -07:00
Emmanuel Lepage Vallée 022be39a3f
doc: Revert the last few commits. (#3317)
Hopefully, if the boilerplate commit is empty, the script will not
crash.
2021-04-05 01:11:05 -07:00
Emmanuel Lepage Vallée 702db23ee0
Debug doc issue (#3316)
* doc: More debug messages

The previous commit was inconclusive

REVERT ME

* doc: Another attempt at narrowing the boilerplate commit issue
2021-04-05 00:56:03 -07:00
Emmanuel Lepage Vallée 8e8525dae9
doc: More debug messages (#3315)
The previous commit was inconclusive

REVERT ME
2021-04-05 00:16:26 -07:00