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
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
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
sarubo
8d61790be7
doc: Add the markup example of popup_calendar
...
Refer to tests/examples/awful/widget/calendar_popup/default.lua
2021-11-21 23:49:46 +09:00
sarubo
03e437e32a
calendar_popup: Fix markup not working
2021-11-21 23:42:00 +09:00
Aire-One
aa378a1d4c
fix(client_get_some_icon) loosness about fail
...
Review @sclu1034
2021-11-15 22:44:26 +01:00
Aire-One
219cff8726
doc(icon) note on default value
2021-11-15 19:18:02 +01:00
Aire-One
ea349cee6a
doc(client_get_some_icon) Improve description
2021-11-15 19:18:02 +01:00
Aire-One
0246c44d4f
Merge pull request #3504 from Elv13/fix_build
...
build: Fix a recent regression when tests are built.
2021-11-14 13:22:46 +01:00
Lucas Schwiderski
4d111db7b2
build: Fix a recent regression when tests are built.
...
Fix #3502
2021-11-13 19:28:12 -08:00
Emmanuel Lepage Vallée
062ecfb6f0
Merge pull request #3490 from Elv13/less_flacky_tests
...
Less flacky tests
2021-11-13 00:42:18 -08:00
Jezer Mejía
bf74f249d4
LC_CTYPE replaced with LC_ALL ( #3492 )
2021-11-09 09:13:28 +01:00
Emmanuel Lepage Vallée
2eb035e125
Merge pull request #3493 from Elv13/progressbar_doc
...
Improve the progressbar doc with more examples.
2021-11-03 12:40:56 -07:00
Emmanuel Lepage Vallée
d95934d209
Merge pull request #3491 from Elv13/textbox_doc
...
Improve the textbox widget documentation.
2021-11-03 12:40:39 -07:00
Emmanuel Lepage Vallee
76704b33e7
progressbar: Make `ticks` and `bar_shape` compatible with each other.
...
It looked horrible/buggy when combined. Now it looks like people would
expect it to work. Another problem was the `bar_border_width` look
when `ticks` was `true.
2021-11-02 20:36:07 -07:00
Emmanuel Lepage Vallee
0afb719f82
doc: Improve the progressbar doc.
...
Another commit in the "lets finish the widget doc" serie.
2021-11-02 20:36:07 -07:00
Emmanuel Lepage Vallee
9dcfde32e0
naughty: Never hold a strong reference to the notification in the box.
...
luajit was failing to GC the notification about 5% of the time. This
commit stores all widget notifications in a weak table and don't let
any lambda access the parent object notification object.
Each of those changes reduces the failure rate. There might still be
a couple in there, but the test passed 200x on my laptop with 100%
success rate.
2021-10-31 19:30:17 -07:00
Emmanuel Lepage Vallee
6e8b0d5a85
ci: Be faster.
2021-10-31 13:37:33 -07:00
Emmanuel Lepage Vallee
295538e389
tests: Force GTK3 for the client test.
...
GTK4 removes iconify and deiconify and replaces them with
minimize and unminimize.
2021-10-31 13:37:33 -07:00
Emmanuel Lepage Vallee
a08191913e
tests: Blind attempt at making a flacky test under luajit stable.
...
I could not reproduce the issue locally.
2021-10-31 13:37:33 -07:00
Emmanuel Lepage Vallee
90a2b003a2
tests: Remove a noisy print
2021-10-31 13:37:33 -07:00
Emmanuel Lepage Vallee
b4beb2308b
tests: Add a simple systray test.
...
Compile a random little C program found on stack overflow to make
a systray. The goal is to make the `event.c` tests less flacky.
2021-10-31 13:37:32 -07:00
Uli Schlachter
4955ec584f
tests: Add a systray program.
2021-10-31 13:36:17 -07:00
Emmanuel Lepage Vallee
1fa0204d80
doc: Add many textbox examples.
2021-10-30 22:51:40 -07:00
Emmanuel Lepage Vallee
c5f81d4aab
doc: Add some new lines in an old example.
2021-10-30 22:44:31 -07:00
Emmanuel Lepage Vallee
9a380a492f
tests: Do not hardcode the font in the shims.
2021-10-30 22:44:12 -07:00
Emmanuel Lepage Vallee
4df1cd6315
background: Correctly apply the matrix in the fallback border code.
2021-10-30 22:43:46 -07:00
Emmanuel Lepage Vallee
cbf62c5b2d
ci: Add some font packages.
...
Make sure the new example work.
2021-10-30 22:43:21 -07:00
Emmanuel Lepage Vallee
6c1f2aac5b
tests: Emulate some clicks on the titlebars.
...
Maybe it will make the test coverage more deterministic... or not.
2021-10-29 17:35:44 -07:00
Emmanuel Lepage Vallee
15f63c700c
tests: Add size changes to the `xeyes` test.
...
It should trigger some shape related code in the core which wasn't
hit reliably until now.
2021-10-29 17:35:44 -07:00
Emmanuel Lepage Vallee
6615772d10
tests: Extend the test client to handle minimization.
...
The goal is to make the coverage less flacky by explicitly
handling some events.
2021-10-28 22:11:21 -07:00
Emmanuel Lepage Vallée
50b9b10437
texrbox: Fix a recent regression. ( #3488 )
...
The intial font wasn't set.
2021-10-28 19:24:49 -07:00
Emmanuel Lepage Vallée
1e0d1e7ba9
Merge pull request #3466 from Elv13/fix_3428
...
Fix a regression in naughty.notification.ignore_suspend
2021-10-28 12:27:42 -07:00
Emmanuel Lepage Vallée
d5fae3f3dc
Merge pull request #3478 from Elv13/better_shims
...
Fix a few sequences template bugs
2021-10-28 12:27:11 -07:00
Emmanuel Lepage Vallée
c8ada80fb3
Merge pull request #3484 from Elv13/2012_misc_fixes
...
Miscellaneous small bug fixes
2021-10-28 12:26:47 -07:00
Emmanuel Lepage Vallée
85dc78520a
Merge pull request #3485 from ezz666/ldoc_readonly_tag
...
Ldoc readonly tag
2021-10-28 12:25:45 -07:00
Emmanuel Lepage Vallée
9595dc38d2
Remove coveralls. ( #3486 )
...
It's inferior to codecov and I am not aware of anyone who will miss
it.
2021-10-28 12:24:59 -07:00
Emmanuel Lepage Vallée
b6f4c85ba6
tests: Restructure the wibar test to work better on luajit. ( #3487 )
...
There were too many references to the original wibar and the GC
cannot resolve them 50% of the time. As shown in test-leak, GCing
the wibar does work. Just not the way the test was strutured.
2021-10-28 12:24:37 -07:00
Emmanuel Lepage Vallee
4f645fd07f
tests: Kill the test-selection-getter clients.
...
This removes a confusing warning in the CI logs.
2021-10-27 20:08:15 -07:00
Emmanuel Lepage Vallee
bb65181e61
doc: Document the textbox font.
2021-10-27 20:08:15 -07:00
Emmanuel Lepage Vallee
cdd50feea7
tests: Test the client border color and width.
2021-10-27 20:08:15 -07:00
Emmanuel Lepage Vallee
5069f5c2ed
client.floating: Add a missing signal connection.
...
The `fullscreen` state does affect the outcome of the state, so
it needs to be connected for request::border to be sent.
2021-10-27 20:08:15 -07:00
Emmanuel Lepage Vallee
cd83b64268
tests: Test titlebar fonts.
2021-10-27 20:08:15 -07:00
Emmanuel Lepage Vallee
a3c7ed166f
tests: Modify the client.relative_move test for the new behavior.
...
Also add more asserts.
2021-10-27 19:50:48 -07:00
Emmanuel Lepage Vallee
7d6892992c
client: Change the `relative_move` behavior.
...
The old behavior would move the client when `nil` was passed by
an almost arbitrary value. It would most of the time go off screen.
While this is a behavior change, what it replaces was so broken I
doubt anybody actually used `nil` in `relative_move`.
2021-10-27 18:30:30 -07:00
Emmanuel Lepage Vallee
8c9e270477
tests: Improve the sequence template.
...
* Fix a typo
* Add some initialization signals
* Refactor the geometry code to be more resilient
* Put more data into the memento
2021-10-27 18:30:30 -07:00