Daniel Hahler
7e5e3a8b81
manpages/awesome.1.de.txt: fix headings
...
Not clear if needed, but fixes:
> asciidoctor: WARNING: awesome.1.de.txt: line 10: unterminated listing
2019-01-04 16:16:45 +01:00
Daniel Hahler
6be0f39454
cmake: man: use txtfile directly
...
This helps with warnings:
> [ 94%] Generating manpages/de/man1/awesome.1
> asciidoctor: WARNING: awesome.1.de.txt: line 10: unterminated listing block
> [ 94%] Generating manpages/de/man1/awesome.1.gz
> …
> [ 98%] Built target man
2019-01-04 16:15:44 +01:00
mergify[bot]
6d2fc5c12b
Merge pull request #2523 from Elv13/compact_doc
...
doc: Merge some documentation pages
2019-01-03 12:50:21 +00:00
mergify[bot]
b10e154924
Merge pull request #2528 from actionless/readme-git-master-build
...
doc(readme): add receipts for installing current git master
2019-01-03 12:49:08 +00:00
Daniel Hahler
1e4ef0bca0
Merge pull request #2379 from Perlovka/menubar/utils.lua
...
menubar.utils: Allow to add programs with OnlyShowIn option being set
2019-01-03 13:47:26 +01:00
Daniel Hahler
f7c144f365
doc: fix type for cmd with easy_async_with_shell ( #2531 )
...
It only accepts a string.
With a table it will return an error (string):
> "spawn: parse error: Non-string argument at table index 3"
[ci skip]
2019-01-03 13:46:11 +01:00
Emmanuel Lepage Vallée
a2cd918603
wibox: Stop monkey-patching the `get_children_by_id` function. ( #2513 )
...
Before this commit, it was added by `wibox.widget.base` if
`:setup()` is used. However it doesn't work for the `awful.popup`
because of the extra indirection.
This commit stops the monkey-patching and make sure the function
always exists. This doesn't prevent it from not working and in
the long run this should still be moved into the hierarchy.
However for now it makes the situation a lot more consistent and is a
quick band-aid without too much controversy.
Mitigate #2181
2019-01-01 15:04:47 -05:00
actionless
d121780366
doc(readme): add receipts for installing current git master
2019-01-01 18:43:43 +01:00
Emmanuel Lepage Vallee
6ca970395c
doc: Merge gears.object and gears.object.properties
...
The `properties` submodule is almost for private use anyway. It is
not worth poluting the API index for it.
2018-12-31 17:50:37 -05:00
Emmanuel Lepage Vallee
491a46875c
doc: Merge the beautiful documentation
...
Given they are all small, it makes more sense to just merge them like
we did for the client API
For some reasons GTK doesn't want to be merged. To be investigated.
2018-12-31 17:49:44 -05:00
Emmanuel Lepage Vallee
f0df2d6e8f
doc: Merge the `termite` hotkey popup doc
...
The other components are already merged as such.
2018-12-31 17:49:14 -05:00
Emmanuel Lepage Vallée
a559f55c6a
prompt: Add a `with_shell` property. ( #2500 )
...
Fixes #2486
2018-12-31 15:38:14 -05:00
glenvt18
61970761fb
fix(menubar): escape XML entities in the item name ( #2522 )
2018-12-31 15:35:52 -05:00
Emmanuel Lepage Vallée
289cfcaaed
Merge pull request #2407 from Elv13/fix_next_to
...
Fix awful.placement.next_to
2018-12-31 00:15:55 -05:00
mergify[bot]
5e30337ceb
Merge pull request #2505 from ArenaL5/master
...
Making Tor Browser a floating window by default.
2018-12-27 18:11:50 +00:00
ArenaL5
5268a89262
Add files via upload
...
Sorting list of clients and adding comment to Tor Browser's entry, [as requested.](https://github.com/awesomeWM/awesome/pull/2505 )
2018-12-27 15:53:46 +00:00
Emmanuel Lepage Vallee
e2f164208c
doc: Better document awful.placement.next_to
2018-12-24 21:52:54 -05:00
Emmanuel Lepage Vallee
8bcdd0b794
placement: Add some extra checks to limit the risk of regressions.
...
Given noone understand this code, this will prevent some semi likely
regressions from going unnoticed. The main risk is the shims not
producing the exact same results as the real implementation and
cause different code paths to be taken.
As of this commit, both the "real" and "shim" implementation were given
the same set of tests with print() at every step of next_to. The
resulting log was then checksummed to ensure both are identical.
2018-12-24 21:52:30 -05:00
Emmanuel Lepage Vallee
89867386c5
tests: Add images to the tooltip documentation
...
It also add some properties such as `border_width`, `border_color`
and `preferred_alignments`.
It also fix a documentation bug where the `margin_topleft` was called
`margins_topleft`. To conform to the documentation, both are now valid
but one should be removed the next time the API changes.
Fixes #1978
2018-12-24 21:52:30 -05:00
Emmanuel Lepage Vallee
52f62b712c
tooltip: Allow the border to be configured.
...
Given the tooltip border is "client side" instead of X11 to allow
anti-aliasing to work when a shape is used, it doesn't use the wibox
border.
2018-12-24 21:52:30 -05:00
Emmanuel Lepage Vallee
2b52926b48
tooltip: Pass the parent object to awful.placement, not the position.
...
By passing the geometry, important information used by
awful.placement.next_to were "lost". Given `next_to` supports both
widget position, the mouse and client/wibox relative positioning, it
has to know the object type.
2018-12-24 21:52:30 -05:00
Emmanuel Lepage Vallee
68bfde45e1
tooltip: Cleanup the margin API.
...
Make it closer to other APIs across Awesome.
2018-12-24 21:52:30 -05:00
Emmanuel Lepage Vallee
3380fd85fc
tooltip: Add alignment options.
...
It's a list of preferred alignments because sometime the best one wont
fit in the screen.
2018-12-24 21:52:30 -05:00
Emmanuel Lepage Vallee
7d6f52c4dc
wibox: Add the wibox reference to `find_widgets`
...
This is necessary to compute the widget real position on screen
because it's the only way to know the border_width offset.
2018-12-24 21:52:30 -05:00
Emmanuel Lepage Vallee
d8a7782bf4
tests: Add an awful.placement.next_to test
...
It was overdue
2018-12-24 21:52:30 -05:00
Emmanuel Lepage Vallee
33a39ce38d
placement: Make sure `next_to` result is consistent across calls
...
It depended on a hash `pairs` iteration. This caused an issue only when
the primary position wasn't available.
2018-12-24 21:52:30 -05:00
Emmanuel Lepage Vallee
f1145af49d
placement: Allow to configure the next_to anchors
...
They were previously hardcoded to match the classic context menu
behavior. It isn't flexible enough for some popup type.
2018-12-24 21:49:52 -05:00
Emmanuel Lepage Vallee
3fa42f3b1a
placement: Fix `border_width` for `next_to`
...
All previous users used client side borders so the issue went
unnoticed. This code will be unit tested by the `popup` module
in a few commits.
2018-12-24 21:49:52 -05:00
Emmanuel Lepage Vallee
c3302c4bbe
tests: Improve the awful example template
...
* Support async operations
* Support `awful.popup`
* Support minimized clients
2018-12-24 21:49:52 -05:00
Emmanuel Lepage Vallee
90342b62c6
shims: Make sure the wibox boolean properties are set
...
Also make some changes to support tooltips.
2018-12-24 21:49:52 -05:00
ArenaL5
4c45d292dd
Making Tor Browser a floating window by default.
...
Responding to issue #2504 at awesomeWM/awesome
2018-12-23 17:39:12 +00:00
mergify[bot]
7d0976912e
Merge pull request #2435 from PeterNerlich/fix-hotkeys_popup
...
stop keygrabber on hide through click
2018-12-20 04:06:17 +00:00
Yauhen Kirylau
820094c3c4
feat(awful: titlebar): expose fallback title ( #2459 )
...
feat(awful: titlebar): expose fallback title
2018-12-17 12:47:14 -05:00
Emmanuel Lepage Vallée
de04cecf46
Merge pull request #2454 from Aire-One/add_widget_prompt_params
...
Add parameters to awful.widget.prompt constructor.
2018-12-17 10:45:54 -05:00
actionless
1da5554fdc
fix(hotkeys_popup): rebase fix for keygrabber instance
2018-12-17 16:29:36 +01:00
Emmanuel Lepage Vallée
7231087bdb
Update widget.lua
2018-12-17 16:29:36 +01:00
Peter Nerlich
e55cc7c912
stop keygrabber on hide through click
...
fixes #2434
2018-12-17 16:29:36 +01:00
legion151
f1541a87b8
Update awesomerc.lua ( #2451 )
...
* Update awesomerc.lua
2018-12-17 09:40:04 -05:00
mergify[bot]
98be7e88ef
Merge pull request #2483 from actionless/questions-readme
...
doc(readme): add questions section; split issues and contributing; fix apidoc link (in ldoc)
2018-12-17 14:24:24 +00:00
mergify[bot]
8ac83cac5f
Merge pull request #2485 from psychon/class-instance-doc
...
Improve docs for client class and instance
2018-11-21 23:47:41 +00:00
Uli Schlachter
c292b6709d
Improve docs for client class and instance
...
No idea what "If the client has multiple classes" is supposed to refer
to, but this commit gets rid of that reference. Also, this commit
clarifies how to get the class and instance out of xprop.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-11-21 12:51:19 +01:00
actionless
29b2b7138d
doc(readme): add section about IRC
2018-11-19 22:09:46 +01:00
actionless
86084690b2
doc(readme): add questions section; split issues and contributing; fix apidoc link (in ldoc)
2018-11-19 22:01:37 +01:00
Michele Lazzeri
2308509f39
lib/awful/rules.lua fix requesting nil tag name ( #2479 )
...
Related PR: #2354
We always passed a nil value, guess it's a typo.
2018-11-14 15:23:05 -05:00
mergify[bot]
bf50daf94e
Merge pull request #2182 from blueyed/doc-gtable-iterate
...
doc: improve gears.table.iterate
2018-11-12 16:40:53 +00:00
mergify[bot]
563b7a47b1
Merge pull request #2478 from sigprof/fix-motif-hints
...
Fix c.requests_no_titlebar
2018-11-12 16:37:19 +00:00
Sergey Vlasov
f0878941ab
doc: Fix c.requests_no_titlebar example
...
Signed-off-by: Sergey Vlasov <sigprof@gmail.com>
2018-11-12 11:48:59 +03:00
Sergey Vlasov
d17433f6c9
tests: Add test for Motif titlebar hints
...
Test the c.requests_no_titlebar and titlebars_enabled=function...
features.
Signed-off-by: Sergey Vlasov <sigprof@gmail.com>
2018-11-12 11:48:59 +03:00
Sergey Vlasov
d266309ef8
awful.client: Fix c.requests_no_titlebar
...
The property was always false because of a typo.
Signed-off-by: Sergey Vlasov <sigprof@gmail.com>
2018-11-12 11:48:59 +03:00
mergify[bot]
6cdd737c4a
Merge pull request #2469 from psychon/remove_dead_code
...
menubar.utils: Remove some (basically) dead code
2018-11-07 20:39:49 +00:00