Emmanuel Lepage Vallee
94e13b7bb0
shims: Fix some bugs for ruled.tag.
2021-10-27 18:30:30 -07:00
Emmanuel Lepage Vallée
a1716a7edc
Merge pull request #3462 from Aire-One/fix/3458
...
Fix 3458
2021-10-22 23:27:55 -07:00
Emmanuel Lepage Vallée
8541637a85
Merge pull request #3475 from Elv13/fix_626
...
Another doc upgrade.
2021-10-21 15:07:54 -07:00
Emmanuel Lepage Vallee
b2603f6a86
doc: Add images for awful.client.* functions.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
ae71158093
doc: Add documentation for the client "window factor" related functions
...
It might be a good idea to deprecate them and move them to the tag
class. However, these APIs are not exactly well designed, so
moving them wont solve that. Some day the dynamic client layout will
hopefully be merged and send these functions to the heap of smelly
bad ideas trash.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
a8d2fa0297
doc: Add a large number of `client` examples.
...
Backfill some under-documented APIs with yet more shiny images.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
73625168f2
doc: Improve the `awful` template.
...
* Support client shape
* Support titlebar colors
* Only render clients part of the selected tag(s).
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
fd8401a399
shims: Send the property:: signal for the client class.
2021-10-18 14:38:37 -07:00
Emmanuel Lepage Vallee
56256d0c38
shims: Add client.first_tag.
2021-10-16 17:07:18 -07:00
Emmanuel Lepage Vallee
667a0dfc18
tests: Add tests for swapping a client.
2021-10-15 20:20:24 -07:00
Emmanuel Lepage Vallee
e40ad11ec0
shims: Implement client:swap().
2021-10-15 19:50:22 -07:00
Emmanuel Lepage Vallee
028d01590a
doc: Add a client.border_width example.
2021-10-15 19:50:03 -07:00
Emmanuel Lepage Vallee
c1d25cd70d
doc: Improve the `awful` template client widget.
...
It was incorrectly sized.
2021-10-15 19:45:05 -07:00
Emmanuel Lepage Vallee
206bc7e5de
doc: Fix client.border_color example rendering.
2021-10-15 17:47:03 -07:00
Aire-One
1f4ce1f4cb
fix: flush instead of finish
...
Co-authored-by: Uli Schlachter <psychon@znc.in>
Co-authored-by: ezz666 <ezz666@yandex.ru>
2021-10-15 18:25:04 +02:00
Emmanuel Lepage Vallee
2a65d8ade1
tests: Fix the layoutlist popup example.
...
`gears.table.cycle_value` returns 2 values. That accidentally
passed the second one to `awful.layout.set`, which didn't like
it at all.
2021-10-14 14:09:47 -07:00
Aire-One
6d569f9e3b
fixup! fix(root) copy_to_image_surface parameters
2021-10-12 21:48:56 +02:00
Aire-One
96710a595e
fix(root) copy_to_image_surface parameters
2021-10-12 21:05:41 +02:00
Yauhen Kirylau
aedcd0c05c
test(screenshots, spawn): require exact major gtk/gdk versions ( #3460 )
2021-10-09 16:36:17 -07:00
Emmanuel Lepage Vallée
d487d1010e
Merge pull request #3443 from Elv13/fix_3396
...
Improve suspending the notifications
2021-10-09 12:58:11 -07:00
Emmanuel Lepage Vallee
375738d609
tests: Test `naughty.get_by_id` with invalid ids.
2021-10-05 13:06:26 -07:00
Emmanuel Lepage Vallee
d4a41184c4
tests: Test the naughty "suspended" mode.
2021-10-05 13:00:14 -07:00
Aire-One
eb89c3688c
Update screen.lua
2021-10-04 19:49:22 -07:00
Brian Sobulefsky
4f0c3c5d90
Add tests for the new content API. This includes tests for root.content(),
...
screen.content, and client.content. Run with TESTS_SCREEN_SIZE set equal
to 1280x800. This test suite will be expanded once the more user
friendly awful.screenshot API is merged.
Signed off: Brian Sobulefsky <brian.sobulefsky@protonmail.com>
2021-10-04 19:49:22 -07:00
Emmanuel Lepage Vallee
c3fe4c15ed
doc: Uncomment the wallpaper `screen` property.
2021-10-01 16:54:22 -07:00
Emmanuel Lepage Vallee
70cd293839
doc: Integrate `awful.wallpaper` into the guides.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
4a0645e942
doc: Correctly render --DOC_NO_USAGE + --DOC_GEN_OUTPUT.
...
It was previously merged into a single block.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
bbf1c9270f
tests: Test the imagebox DPI and CSS stylesheet.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
883cdb7f41
doc: Fix the rendering of double quotes and semicolons
...
CMake uses quotes and semicolon in its internal list datatype.
Previously, all double quotes were converted to single quotes to
avoid this problem. Semicolors were interpreted as newlines in
ldoc.
With this commit, both of them render fine. This was required
because a new example uses CSS and XML where those symbols have
a specific meanning.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
3f2db184ad
gears.wallpaper: Deprecate.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
e55ea2b0d5
doc: Support multiple screens in the "default look" template.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
6b7ecc51f8
tests: Add awful.wallpaper tests
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
580f16b7ff
tests: Draw the wallpaper in the awful template
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
dcdc6a1089
shims: Add awesome._get_key_name
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
8481af90c5
shims: Add a wallpaper setter.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
b9971a5acc
root: Do not end up in an infinite loop if the wallpaper is `nil`.
...
If `root.wallpaper` was called with `nil` during initialization,
AwesomeWM would get into an infinite restart loop.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
98dd78b777
awful: Add a wallpaper module.
...
`gears.wallpaper` is a flat API (that doesn't even belong in gears) and
is neither well integrated with the other AwesomeWM concepts, nor well
documented or easy to understand for newcomers.
This module adds an object oriented, declarative, module with properties
for the most common wallpaper types. It also integrates with
`awful.placement` and the `wibox` module.
The design attempts to make the wallpaper a "wibox like" object like
the titlebars. It is non-interactive, but still allows the widgets. Note
that this is slow and should be avoided for dynamic content. It is why
the widgets are never updated unless manually reloaded. The objects also
attempt to be disposable rather than persistent. Thus they are immutable
by default to prevent accidental abuse.
Fix #3428 #2596
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
aa998db626
tests: Test the imagebox upscale and downscale properties.
2021-09-24 08:38:13 -07:00
Emmanuel Lepage Vallee
24fc1043ee
tests: Remove a flackyness in test-input-binding
2021-09-22 19:17:02 -07:00
Emmanuel Lepage Vallee
ccbe116877
tests: Try to mitigate a flacky test with luajit 5.1.
...
Give more attempt for the wibars to be GCed. This test fails ~5% of
the time since moving from Travis CI to GitHub actions.
2021-09-22 19:17:02 -07:00
Emmanuel Lepage Vallee
bd8f2f936b
naughty: Fix a memory leak related to suspended notifications.
2021-09-22 19:17:02 -07:00
Emmanuel Lepage Vallee
552b2a22d1
tests: Test the notification presets.
...
Make sure they behave the same in legacy and ruled modes.
2021-09-22 19:17:02 -07:00
Emmanuel Lepage Vallée
5ca16ae8a0
Merge pull request #3364 from Aire-One/fix/awful.key-constructor
...
[doc] awful.key contructor and general improvements
2021-09-20 11:39:41 -07:00
Emmanuel Lepage Vallée
73e908ed95
Apply suggestions from code review
...
Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>
2021-09-12 01:59:48 -07:00
Emmanuel Lepage Vallée
6ad693eff0
Apply suggestions from code review
...
Co-authored-by: Aire-One <Aire-One@users.noreply.github.com>
2021-09-12 01:59:48 -07:00
Emmanuel Lepage Vallee
d5d74e44de
doc: Document the wibar module.
2021-09-12 01:59:48 -07:00
Emmanuel Lepage Vallee
b2368c54a8
tests: Fix the `screen` template rendering with multiple screens.
...
It only worked for a single screen. It still isn't perfect, but
much better than it was.
2021-09-12 01:59:48 -07:00
Emmanuel Lepage Vallee
dd6163ffe6
shims: Fix the screen workarea value.
...
It didn't work with multiple screens.
2021-09-12 01:59:48 -07:00
Emmanuel Lepage Vallee
a94a4beb6f
doc: Add a missing DOC_HIDE which damaged the rendering.
2021-09-12 01:59:48 -07:00
Emmanuel Lepage Vallee
b4afd0206b
tests: Make sure wibar resize works.
...
Also add some garbage collection tests. This was my original
theory about why resizing was broken, but it turned out something
in `awful.placement` leaked, not the wibar references.
2021-09-12 01:59:48 -07:00