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
Emmanuel Lepage Vallee
f2a19690ac
tests: Test geometry changes
2016-04-20 00:11:04 -04:00
Emmanuel Lepage Vallee
8875b66d2e
tests: Test awful.rules
2016-04-20 00:11:04 -04:00
Emmanuel Lepage Vallee
9798b455cb
tests: Add a flexible dummy client.
...
XTerm isn't really a perfect test candidate.
2016-04-20 00:11:04 -04:00
Emmanuel Lepage Vallee
f5a27ab99b
tests: Test maximizing and fullscreen
2016-04-20 00:11:04 -04:00
Emmanuel Lepage Vallee
299e155acc
client: Extend request::tag instead of awful.tag.withcurrent
...
There was a regression when refactoring the API. It was no longer
possible to disable the automatic tag selection.
Due to recent changes, it was no longer possible to disable the
default tag selection handler. This commit extend the already
existing request::tag mechanism to let handlers select the tags.
2016-04-20 00:11:04 -04:00
Emmanuel Lepage Vallee
fe8beaeaac
placement: Fix incorect use of the border_width
...
The code and tests assumed the border was equaly applied around
the geometry while the {x,y} pair of the geometry include the
border.
2016-04-18 23:56:23 -04:00
Emmanuel Lepage Vallee
798729ff11
tests: Test placement composition
2016-04-18 23:55:52 -04:00
Emmanuel Lepage Vallee
bb47aa5861
tests: Test all client layouts
2016-04-18 04:20:23 -04:00
Uli Schlachter
9efc5ca409
test-urgent.lua: Test "tag by name" rules
...
With this commit, the code added previously to awful.rules is now also tested.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-04-12 09:31:46 +02:00
Emmanuel Lepage Vallee
f9add1c49a
awful.tag: Rename nmaster to master_count
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
e8908e2c62
awful.tag: Rename mwfact to master_width_factor
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
194720c821
tests: Test awesomerc keybindings
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
5e7b1bf507
tests: Test awful.tag against regressions
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
c7fb00dd47
tests: Test awful.screen against regressions
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
f8fc0e27bf
tests: Test awful.client against regressions
...
This make sure the property system did not introduce infinite
dependency loops.
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
dd52f1ce86
awful.tag: Move functions to awful.client and screen
2016-04-11 23:54:28 -04:00
Emmanuel Lepage Vallee
00d782f3d3
awful.screen: Deprecate functions, add methods
2016-04-11 23:54:28 -04:00
Daniel Hahler
b6810576b0
tests/run.sh: display number of errors [ci skip]
2016-04-06 01:54:18 +02:00
Emmanuel Lepage Vallee
4819be4f4f
build: Do not exit when gears.debug.print_warning are issued
2016-04-03 23:45:56 -04:00
Emmanuel Lepage Vallée
c93ac5243f
Merge pull request #785 from Elv13/geometry_overhaul_p1
...
Geometry overhaul part 1
2016-04-02 22:06:23 -04:00
Emmanuel Lepage Vallee
421c10b19a
Change autogenerated images name
...
Github drop files when the leading character is ., ~, # or _
This commit add a prefix in front of the name to avoid leading
underscores.
2016-03-31 23:42:05 -04:00
Emmanuel Lepage Vallee
ef5ec333cc
tests: Test the remaining existing awful.placement
methods.
...
Notes that some asserts are missing because the tests fail. This
will be fixed later. It is not a regression.
2016-03-31 05:04:24 -04:00
Emmanuel Lepage Vallee
4bc3f04ec1
tests: Test awful.placement.maximize
aliases
2016-03-31 05:04:24 -04:00
Emmanuel Lepage Vallee
7ab83afbbc
tests: Test awful.placement.maximize
2016-03-31 05:04:24 -04:00
Emmanuel Lepage Vallee
7b7d09edff
tests: Test all awful.placement.stretch
aliases
2016-03-31 05:04:24 -04:00
Emmanuel Lepage Vallee
7b7802f559
tests: Test awful.placement.stretch
2016-03-31 05:04:24 -04:00
Emmanuel Lepage Vallee
dd0ea33015
tests: Test the new awful.placement
aliases
2016-03-31 05:04:24 -04:00
Emmanuel Lepage Vallee
db2f545411
tests: Test awful.wibox.align
2016-03-31 05:04:24 -04:00
Emmanuel Lepage Vallee
61d143fe98
tests: Test awful.placement.closest_corner
...
The output image look fine, some `assert()` could be added.
2016-03-31 05:04:24 -04:00
Emmanuel Lepage Vallee
ea40fbd198
shims: Add property::workarea
2016-03-31 05:04:24 -04:00
Emmanuel Lepage Vallee
c62116f505
tests: Add wibox.widget.background tests
2016-03-31 04:45:46 -04:00