Brian Sobulefsky
37ec7cd173
Clean up logging from Lua 5.1 and 5.2 error debug. Add a little more
...
test coverage.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
9d9fedf945
Likely solution to lua 5.1 and 5.2 bug.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
e8584f47b4
Debugging lua 5.1, lua 5.2 error.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
fb77f90959
Zeroing in on lua 5.1 and 5.2 bug on GitHub.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
ea3f82bdf0
Debugging Lua 5.1 and 5.2 on GitHub.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
1eb8371341
Error message addition to debug lua 5.1 and 5.2 out on GitHub jobs.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
75943e788b
Add some more test coverage to get this PR to the requisite 91%.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
8f7750e6f2
Add tests for the snipper tool and the snip (defined geometry) routine
...
to increase test coverage.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
52e0242ec6
Move some filesystem related logic in the screenshot lib to gears
...
request from awesome maintainers.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
1fdefad750
Fix the failed test case and some issues regarding variable naming.
...
There will still be one more commit to replace some of the screenshot
module code with available functionality from gears (e.g. the filesystem
module).
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
5a7faa0010
Develop the awful.screenshot module into an object oriented format. Add
...
tests for the awful.screenshot module.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
efc9adae7c
Corrections to the lua documentation comment syntax.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
18ee0d6bf7
Add luadoc comments for awful.screenshot.init and fix a typo in the
...
mousegrabber callback (use the filename convenience variable 'fname').
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
12a3fae456
This commit begins the development of a more appropriate user facing
...
screenshot API. It extends a prior commit which extended the lower level
content API, which had been a property of the client object but is now
available as a property of the screen object and a method of the root
object.
This commit creates a new screenshot module for the awful module. The
public functions include root(), screen(), client(), snipper(), and
snip(). These take root window, screen, and client window screenshots,
launch an interactive snip tool for cropped screenshots, and take a
cropped screenshot of a geometry passed by argument, respectively. The
init() function is also available for configuration. Using this library
is more appropriate for the average rc.lua.
Since the API is new, this commit does not include any changes to
rc.lua. The developers can modify rc.lua when there is sufficient
confidence in API stability and robustness.
lib/awful/init.lua is modified so that the awful module includes the new
lib/awful/screenshot.lua submodule.
Signed off: Brian Sobulefsky <brian.sobulefsky@protonmail.com>
2022-11-13 16:53:32 -08:00
Lily
a436478731
fix floating snap ( #3719 )
...
makes snap & aerosnap respect padding & workarea, adds snapper_gap padding to build_placement subcalls using args
2022-10-22 14:38:52 -07:00
David Kosorin
b16f628620
Restore minimized sticky clients ( #3709 )
2022-09-29 23:12:13 -07:00
Aire-One
db5ade48e4
doc(awful.titlebar): fix ldoc WARN
2022-09-18 18:22:52 +02:00
Aire-One
941bb72fa2
doc(awful.keygrabber): fix ldoc WARN
2022-09-18 18:22:02 +02:00
Emmanuel Lepage Vallee
88c65a71dd
textbox: Rename `align` to `halign`.
...
`halign` is used in multiple place in the API. Once upon a time,
Awesome only supported horizontal widgets, but this era has long
passed.
Fix #3640
2022-09-06 16:11:04 -07:00
Tonda Fischer
c8d4f878a0
#3539 : Make tool tips indicate the action that a click will acheive ( #3657 )
...
* #3539 : Make tool tips indicate the action that a click will achieve.
2022-09-03 15:31:24 -07:00
Emmanuel Lepage Vallee
3c0d5b606f
doc: Fix issues found by @aire-one .
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
8f1a29b15f
awful.widget.watch: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
d45bd3a9d9
awful.widget.tasklist: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
a96ad1b766
awful.widget.taglist: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
60b52ab4c3
awful.widget.only_on_screen: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
4c4d833a69
awful.widget.layoutlist: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
0e5a62950e
awful.widget.layoutbox: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
72041d63a4
awful.widget.keyboardlayout: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
176526a8d2
awful.widget.clienticon: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
bd07d49197
awful.wibar: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
b5a9250a58
awful.wallpaper: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
9d04ba72f9
awful.tooltip: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
91de268703
awful.tag: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
6d31e783df
awful.screen: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
5909d2f155
awful.popup: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
e8a505273a
awful.mouse.init: Update the property documentation.
2022-08-29 22:49:46 -07:00
Emmanuel Lepage Vallee
deaeb4dab8
awful.keygrabber: Update the property documentation.
2022-08-29 22:49:46 -07:00
Emmanuel Lepage Vallee
530055f024
awful.key: Update the property documentation.
2022-08-29 22:49:46 -07:00
Emmanuel Lepage Vallee
0b902c1d69
awful.hotkeys_popup.widget: Update the property documentation.
2022-08-29 22:49:46 -07:00
Emmanuel Lepage Vallee
418bf92858
awful.client: Update the property documentation.
2022-08-29 22:49:46 -07:00
Emmanuel Lepage Vallee
6e546bcb6a
awful.button: Update the property documentation.
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
f3987f43b6
doc: More proof reading fixes.
2022-08-29 22:48:54 -07:00
Emmanuel Lepage Vallee
af3e62ae64
tasklist: Fix `disable_icon`.
...
It regressed when the tasklist switched to a template by default.
This was done to support the icon size.
Fix #3178
2022-08-29 22:48:54 -07:00
Grzegorz Bednarski
1f5b759306
Support minimized client property in tasklist icons ( #3526 )
2022-08-29 22:48:54 -07:00
Emmanuel Lepage Vallee
fb8f7cfadd
hotkey/calendar: Fix rendering when the theme color is a pattern.
...
It blew up.
2022-08-29 22:48:54 -07:00
Emmanuel Lepage Vallee
75ab366769
doc: Proof reading fixes.
...
* Rendering problems
* Incomplete type information
* Obsolete type information
* Missing type information
* Missing return value
* Incomplete return value type
2022-08-29 22:48:54 -07:00
Emmanuel Lepage Vallee
11a7c8c47b
doc: Fix the `layoutbox` doc.
...
It didn't have a constructor.
2022-08-29 22:48:54 -07:00
Emmanuel Lepage Vallee
69ab73aa23
doc: Fix a popup doc issue.
...
The variable name wasn't in the @param string, so it was called "The".
2022-08-29 22:48:54 -07:00