Daniel Hahler
2b3707ccfc
Travis: codecov: use -f with luacov output ( #2563 )
...
- do not use `-c` to remove discovered file
- configure path for luacov reportfile to also reside in build directory
2019-01-10 10:56:39 +01:00
Daniel Hahler
b67e0a123c
Travis: use Ubuntu Xenial image ( #2565 )
...
This has lua5.3 already.
2019-01-10 10:55:49 +01:00
Daniel Hahler
39cc36a979
Makefile: run CMake with CMAKE_ARGS defined
...
This ensures to re-run CMake when using something like:
> CMAKE_ARGS="-DSTRICT_TESTS=true -DDO_COVERAGE=1 make check-unit
2019-01-09 21:20:51 +01:00
Aire-One
a01669693e
layout.manual: Implement the `:insert()` method. ( #2557 )
...
It was documented but not implemented. It is necessary when the
"Z index" needs to be manually specified.
2019-01-09 00:31:14 -05:00
mergify[bot]
ed7c243c03
Merge pull request #2552 from Elv13/fix_tags_doc
...
doc: Fix a copy/paste mistake in the screen module
2019-01-05 17:06:43 +00:00
Emmanuel Lepage Vallee
eb8bfa6407
doc: Fix a copy/paste mistake in the screen module
2019-01-05 04:32:37 -05:00
mergify[bot]
dab2732bc3
Merge pull request #2537 from blueyed/fix-treturn
...
doc: fix `@treturn` usage with index_theme:get_per_directory_keys
2019-01-05 09:00:06 +00:00
mergify[bot]
e647166ad6
Merge pull request #2546 from blueyed/man
...
Fix warning with de man page
2019-01-05 03:51:41 +00:00
mergify[bot]
a2b0b6a6a1
Merge pull request #2538 from blueyed/doc-gtable
...
doc: revisit gears.table
2019-01-05 00:21:26 +00:00
Emmanuel Lepage Vallée
50178324d1
Merge pull request #2544 from blueyed/ldoc-title
...
ldoc: use custom ldoc.ltp for improved HTML title
2019-01-04 19:18:10 -05:00
mergify[bot]
a4b9d2c1fd
Merge pull request #2539 from blueyed/test-split
...
tests: add basic tests for gears.string.split
2019-01-04 22:57:27 +00:00
mergify[bot]
ded7950c6d
Merge pull request #2536 from blueyed/test
...
tests/run.sh: fix handling of test args
2019-01-04 22:56:46 +00:00
mergify[bot]
477c322bc6
Merge pull request #2535 from blueyed/kill
...
awesome.kill: use luaL_checknumber
2019-01-04 22:32:17 +00:00
Daniel Hahler
aae9b25457
ldoc.ltp: improve HTML title
2019-01-04 22:39:28 +01:00
Daniel Hahler
6792415cef
ldoc: prepare for custom ldoc.ltp
...
ldoc.ltp is copied from ldoc (ldoc/html/ldoc_ltp.lua).
2019-01-04 22:39:28 +01:00
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
Daniel Hahler
a732301306
tests: add basic tests for gears.string.split
2019-01-03 18:33:34 +01:00
Daniel Hahler
25fca23772
doc: revisit gears.table
2019-01-03 17:13:40 +01:00
Daniel Hahler
ef4f3277b0
doc: fix @treturn usage with index_theme:get_per_directory_keys
2019-01-03 14:30:21 +01:00
Daniel Hahler
5dbb5b4992
tests/run.sh: fix handling of test args
...
Fixes `tests/run.sh tests/test-signal.lua`.
2019-01-03 13:54:37 +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
Daniel Hahler
6f2ab576b8
awesome.kill: use luaL_checknumber
...
Fixes https://github.com/awesomeWM/awesome/issues/2534 .
2019-01-03 13:43:09 +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