awesome/lib/gears
Uli Schlachter 4744a744f0 gears.table.join: Ignore nil arguments (#2440)
When calling join with e.g. arguments (nil, {"a"}), then everything past
the nil was ignored, because the code internally used ipairs() to
iterate over the arguments and this stops at the first nil it
encounters.

Fix this by using select() to iterate over the arguments.

This also adds a unit test for this problem.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-10-16 10:17:45 -04:00
..
object Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
sort gears: Add a new sort module 2018-03-04 01:29:33 -05:00
cache.lua Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
color.lua Give the docs for gears.color some improvements 2018-01-22 11:53:39 +01:00
debug.lua gears.debug.print_{warning_error}: add "awesome: " prefix (#1968) 2017-08-10 14:08:32 +02:00
filesystem.lua Deprecate gears.filesystem.get_dir 2018-03-11 16:08:07 +01:00
geometry.lua gears.geometry: Make area_intersect_area() public 2018-05-19 00:08:19 +03:00
init.lua gears: Add a new sort module 2018-03-04 01:29:33 -05:00
math.lua Move math functions out of awful.util into new gears.math 2017-03-02 18:15:59 -06:00
matrix.lua gears.matrix: Add create_rotate_at() (#1181) 2016-10-25 15:37:49 +02:00
object.lua object: Add support for signal forwarding 2017-08-19 22:52:08 -04:00
protected_call.lua Fix traceback in gears.protected_call (#1178) 2016-10-22 00:54:08 +02:00
shape.lua Fix whitespace warnings reported by luacheck (#1229) 2016-11-21 22:38:23 +01:00
string.lua Fix incorrect @name annotation in gears.string 2018-09-26 10:37:59 +02:00
surface.lua shims: Use cairo PNG support instead of GDK 2018-02-25 18:01:08 -05:00
table.lua gears.table.join: Ignore nil arguments (#2440) 2018-10-16 10:17:45 -04:00
timer.lua timer: Add a reminder to apply the existing naming conventions 2018-08-06 19:03:25 -04:00
wallpaper.lua Add some introductionary documentation to gears.wallpaper 2018-01-22 11:22:05 +01:00