Emmanuel Lepage Vallee
de7ae79c6c
doc: Add a `background` default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
46c83b4001
doc: Add a `mirror` default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
ab0a9a077e
doc: Add a `rotate` default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
e57ae1789d
doc: Add a container default example template
...
This will be implemented by each container and then grouped into
a list by CMake and inserted in the widget system documentation.
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
bc2c0cfcb0
doc: Add a wibox.container.rotate example
...
Also fix the documentation
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
ac7ea4c70f
tests: Fix coverage data
...
As the documentation generation insert increasingly large ammount
of code into the lua files, the coverage data is getting less and
less accurate. This try to fix this by only collecting such data
after the `configure_file` calls are done.
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
ae0d306114
textclock: Move to wibox.widget
...
It doesn't depend on `awful`, so it doesn't belong in `awful`.
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
44a4eca40e
doc: Port the shape images to the doc example system
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
feb3833fd1
doc: Move the background examples to the container suit
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
d85588babe
wibox: Create a container module
...
Previously, the "containers" were placed in layout or widget.
They all have similar APIs and usage, so lets bring them together.
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
9f74416ef4
placement: Remove leftover prints
2016-05-29 23:50:37 -04:00
Emmanuel Lepage Vallée
c1d3f291fe
Merge pull request #913 from Elv13/gear_obj_props
...
Gear.object properties
2016-05-18 15:20:43 -04:00
Emmanuel Lepage Vallee
bb5ee50de9
layoutbox: Revert 25f4f24791
...
Apparently, there is such thing as not leaking enough...
Also try to clear the widgets from mywibox. This seem to help.
Time will tell.
Fixes #914 , unfixes #808
2016-05-18 01:45:21 -04:00
Emmanuel Lepage Vallee
d6a7b6c645
object: Add a dynamic property example
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallee
f810d78e7b
object: Add a signal example
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallee
08df8fbf03
doc: Add a generic template for text only tests
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallee
52208bc728
tests: Test wibox attachment, wibars and struts
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
b4f08eb7b6
tests: Add asserts to under_mouse
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
0dcc545f35
tests: Update the miss handler test
2016-05-15 17:17:11 -04:00
Emmanuel Lepage Vallee
f4b2043da5
tests: Fix the wibox template
2016-05-15 17:15:55 -04:00
Emmanuel Lepage Vallee
df1cc6d008
tests: Add awful.widget.button mouse release
2016-05-10 16:06:46 -04:00
Uli Schlachter
9d30bf87ae
Merge branch 'more-travis-variance' of https://github.com/psychon/awesome
2016-05-09 18:42:09 +02:00
Uli Schlachter
1ab3f43575
Merge branch 'useful-env-vars' of https://github.com/psychon/awesome
2016-05-09 18:41:02 +02:00
Uli Schlachter
c62da0dcc7
Merge branch 'fake-screen2' of https://github.com/psychon/awesome
2016-05-09 18:40:50 +02:00
Daniel Hahler
58209cd89e
Use an uneven screen width/height (1921x1079) in one Travis job ( #870 )
...
This is meant to trigger issues that would need `math.ceil()` fixes etc.
Ref: https://github.com/awesomeWM/awesome/issues/848#issuecomment-216068831
2016-05-08 20:58:19 +02:00
The Personal Things
df5ecd4c6f
tests: test-resize: use math.ceil to handle uneven screen width ( #882 )
...
See https://github.com/awesomeWM/awesome/issues/848#issuecomment-217361136 .
This is actually a leftover from 612756f
and is meant to fix the failure
at https://github.com/awesomeWM/awesome/pull/870 .
2016-05-08 19:00:59 +02:00
Uli Schlachter
7ea816045d
"make check": Support out-of-tree builds
...
Currently, tests/run.sh expects the directory layout that our wrapper Makefile
sets up before running CMake. This commit adds support for any other directory
configuration as well.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-08 18:52:18 +02:00
Uli Schlachter
beb9b7f950
tests/run.sh: Set up some useful env vars
...
GDK_SCALE=1 is needed to overwrite other settings that people might have which
would make geometry-related tests fail.
NO_AT_BRIDGE=1 gets rid of the following message that I am seeing:
** (lua:8321): WARNING **: Error retrieving accessibility bus address:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not
provided by any .service files
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-08 16:48:24 +02:00
Uli Schlachter
014f68a84d
Add a functional test for addition and removal of screens
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-08 15:01:06 +02:00
Uli Schlachter
975aac5c0c
awful.tag: Delete a screen's tag on removal
...
Any clients with these tags end up somewhere random (the first tag on the first
remaining screen). This certainly can be improved in the future, but at least
this is a start.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-08 14:52:31 +02:00
Uli Schlachter
e4c3554c22
tests/_client.lua: Don't use GtkApplication
...
GtkApplication does magic like ensuring that the application ID is unique and
there is only a single instance of each application running. We don't want nor
need that for the tests.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-08 14:52:31 +02:00
Uli Schlachter
bcc7c65f77
tests/_client.lua: Allow class to be unspecified
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-08 14:52:31 +02:00
Uli Schlachter
2da6ec0912
tests/_client.lua: Add missing modelines
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-08 14:51:33 +02:00
Emmanuel Lepage Vallée
d497cdf081
Merge pull request #875 from psychon/sn-fix
...
Startup-Notification fix
2016-05-08 01:03:16 -04:00
Emmanuel Lepage Vallée
504018343b
Merge pull request #873 from Elv13/geometry_overhaul_p3.01
...
Geometry overhaul p3.01
2016-05-05 16:23:11 -04:00
Uli Schlachter
6b4a2625cb
test-spawn-snid.lua: Use test client instead of urxvt
...
Startup notification support in urxvt is optional while GTK always supports
startup notification. Thus, use the new GTK-based test client for the SN tests.
Fixes: https://github.com/awesomeWM/awesome/issues/848
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-05 18:48:24 +02:00
Emmanuel Lepage Vallee
66ca66ca87
tests: Add basic drawin shim
2016-05-03 17:12:54 -04:00
Daniel Hahler
087d578755
tests: fail if $AWESOME does not exist / is not executable ( #872 )
...
Without this the stdout/stderr rediraction when launching it makes the
error regarding the "program not found" disappear(?!).
[ci skip]
2016-05-03 12:08:00 +02:00
Jajauma
612756ff0e
tests: test-resize: use math.ceil to handle uneven screen height
...
See https://github.com/awesomeWM/awesome/issues/848#issuecomment-216052517 .
Closes https://github.com/awesomeWM/awesome/pull/869 .
2016-05-02 01:43:11 +02:00
Emmanuel Lepage Vallée
dbd0931343
Merge pull request #844 from Elv13/geometry_overhaul_p2
...
Geometry overhaul part 2.5
2016-04-30 23:29:29 -04:00
Emmanuel Lepage Vallee
e41853a47a
tests: Test floating client move, snap and resize
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
fc2d359722
doc: Add a coords example
...
This forced the `coords()` documentation to be moved to Lua.
Keeping it in the C file caused yet another example CMake hack.
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
e8dd707508
tests: The the mouse miss handler
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
f0546b900d
tests: Improve the placement compositing tests
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
bb0a2addb4
tests: Add an option to disable @usage ldoc tag
2016-04-30 04:27:34 -04:00
Emmanuel Lepage Vallee
75764108e1
awful.placement: Make all functions return the geometry
2016-04-30 04:27:33 -04:00
Emmanuel Lepage Vallee
3e7a7f23c2
tests: Test awful.placement.resize_to_mouse
2016-04-30 04:27:33 -04:00
Emmanuel Lepage Vallee
a072e34194
shims: Add the request:: signals
2016-04-30 03:34:14 -04:00
Uli Schlachter
c6fafe06c0
Default config: Remove tags table
...
Tags are accessible as s.tags on a screen object. Yup, that's harder to find
than a variable that is defined in the default config, but such is life.
Now that awful.rules supports specifying tags by name, I guess that the number
one reason for needing the tags table is gone.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-04-26 09:36:53 +02:00
Emmanuel Lepage Vallee
d736850e60
tests: Fix urgent test use of deprecated functions
...
It caused noise in the test results
2016-04-20 00:11:04 -04:00