awesome/spec/gears
Emmanuel Lepage Vallée 00ba63b44e
gears.surface: Add crop (#3882)
* added surface crop function

* added busted tests

* added devShell Flake

* Revert "added devShell Flake"

This reverts commit 0acb3d4e43.

* general purpose crop added

* cleanup

* merged functions, added tests

* replaced gdebug.print_error with error

* clearer error message for crop

Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>

* make error message shorter

* surface.crop: Fix doc warnings.

---------

Co-authored-by: Paul Schneider <74120050+paulhersch@users.noreply.github.com>
Co-authored-by: Paul Schneider <paul.schneider2@student.uni-halle.de>
Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>
2023-12-31 15:15:50 -08:00
..
filesystem_tests Add get_random_file_from_dir to gears.filesystem 2019-02-16 13:58:24 -05:00
cache_spec.lua Add a generic cache system as gears.cache 2015-07-25 15:07:47 +02:00
color_spec.lua ensure_pango_color: Support hex values with alpha 2018-01-13 02:15:30 +01:00
filesystem_spec.lua gears.filesystem: Improve get_random_file_from_dir. 2021-09-24 08:38:13 -07:00
geometry_spec.lua tests: Test gears.geometry.rectangle.is_inside. 2020-02-10 04:13:17 -05:00
matcher_spec.lua tests: Improve gears.matcher tests. 2021-10-22 23:13:26 -07:00
matrix_spec.lua gears.matrix: Add create_rotate_at() (#1181) 2016-10-25 15:37:49 +02:00
object_spec.lua gears.object: Implement read-only properties 2016-06-08 20:28:30 +02:00
protected_call_spec.lua Add gears.protected_call 2016-02-28 12:07:02 +01:00
sort_topological_spec.lua tests: Test the gears.sort module 2018-03-04 01:34:33 -05:00
string_spec.lua Added gears.string.psplit function to support patterns (#3839) 2023-11-18 17:14:35 -08:00
surface_spec.lua gears.surface: Add crop (#3882) 2023-12-31 15:15:50 -08:00
table_spec.lua Add missing modelines 2021-03-22 20:24:56 +01:00