Emmanuel Lepage Vallee
e63d867523
wibox.widget.piechart: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
95cd45942a
wibox.widget.imagebox: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
8e16dc4412
wibox.widget.graph: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
ff9c89d005
wibox.widget.checkbox: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
1b726985de
wibox.widget.calendar: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
1259c3ccc6
wibox.widget.base: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
926f0ff22f
wibox.layout.stack: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
d05fc5dc8f
wibox.layout.ratio: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
c963b16f90
wibox.layout.grid: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
13b792e42e
wibox.layout.flex: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
285a8b23ff
wibox.layout.fixed: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
1fa30c3195
wibox.layout.align: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
2e41211772
wibox.container.tile: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
4c06aaab4f
wibox.container.scroll: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
1dafd25d93
wibox.container.rotate: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
6c84e83ccf
wibox.container.radialprogressbar: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
f0482485fa
wibox.container.place: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
bdec7eb516
wibox.container.mirror: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
534c2324ae
wibox.container.margin: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
268c66584e
wibox.container.constraint: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
d147899f86
wibox.container.background: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
73ec416287
wibox.container.arcchart: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
4fa957b75d
doc: Force all properties to document their default value.
2022-08-29 22:49:46 -07:00
Emmanuel Lepage Vallee
86d1b1c22c
doc: Add a mandatory `@noreturn` for functions and methods.
...
The goal is to catch cases where the return value exists, but is
forgotten. There was a large enough number of them to turn this
into a real check. Initially, I just wanted to implement it to fix
the problems, then delete the code. But since this is so common, I
think it is worth the annoyance.
2022-08-29 22:49:45 -07:00
Emmanuel Lepage Vallee
4bd90f0f35
doc: Add documentation linting and fix all issues it found.
2022-08-29 22:48:54 -07:00
Emmanuel Lepage Vallee
18468d32dd
widget: Fix saving a widget to a file.
...
Previously, if `beautiful.fg_normal` wasn't black, it would not render
correctly.
2022-08-29 22:48:36 -07:00
Emmanuel Lepage Vallee
75019c3f6f
Implement fixes for Luacheck 0.26.1
...
* Rename or mute parameters starting with _
* Replace `not (>=)` with `<`
2022-08-28 16:59:14 -07: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
Actionless Loveless
2d6244f944
doc(progressbar): sanitize paddings/margins ( #3556 )
2022-02-03 13:25:05 +01: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
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
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
Anton Bulakh
e963d37cc4
Fix widget repaint printed errors
2021-11-22 12:39:16 +02: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 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
1fa0204d80
doc: Add many textbox examples.
2021-10-30 22:51:40 -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 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 Vallee
bb65181e61
doc: Document the textbox font.
2021-10-27 20:08:15 -07:00
Emmanuel Lepage Vallee
c36a869ded
textbox: Store the font in `_private`.
...
So a getter can work.
2021-10-27 13:41:11 -07:00
Emmanuel Lepage Vallee
203d0638be
background: Improve the fallback rendering accuracy.
...
While it has a little aliasing problem, it actually correctly
renders the border using a mask like the normal code path.
2021-10-15 19:42:48 -07:00
Emmanuel Lepage Vallee
546ac6aec9
container.tile: Correctly transfer the Cairo source to the tile.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallée
7b8426bd24
Update lib/wibox/widget/imagebox.lua
...
Co-authored-by: Aire-One <aireone@aireone.xyz>
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
d8bc791818
imagebox: Add DPI and CSS Stylesheet properties for SVG images.
...
This exposes the `librsvg` DPI and Stylesheet properties. This
is a groundwork commit to port the xresources theme to use a SVG
wallpaper instead of hardcoded Cairo code to generate the colorfar
logo.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
ddccddb6dc
imagebox: Allow to load SVG data without saving it.
2021-09-24 08:42:42 -07:00
Emmanuel Lepage Vallee
5212f0634a
imagebox: Add a `downscale` and `upscale` property.
...
Previously, it was really hard to get the image to do one *or* the
other. The `resize` property set both at the same time.
While it could, this does not deprecate the old `resize` property
since 99% of the user wan't to lock both.
2021-09-24 08:38:13 -07:00
mergify[bot]
7ae6d26363
Merge pull request #3387 from mattplm/master
...
Stop using fixed row number in calendars
2021-09-07 23:51:38 +00:00
mattplm
97726e8f38
Stop using fixed row number
2021-08-28 23:10:40 +02:00
aflorea-2k
260f6dbe97
doc(wibox.widget.textbox.html): fixed pango links ( #3401 )
...
Links to gnome's pango webpage
(https://developer.gnome.org/pango/stable/PangoMarkupFormat.html ) were
broken. They now all point to docs.gtk.org .
2021-08-03 20:02:25 +02:00