Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add crop #3882

Merged
merged 11 commits into from
Dec 31, 2023
Merged

Add crop #3882

merged 11 commits into from
Dec 31, 2023

Conversation

Elv13
Copy link
Member

@Elv13 Elv13 commented Dec 31, 2023

Copy of #3776

Will merge as soon as tests pass.

Copy link

codecov bot commented Dec 31, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (b54e50a) 90.99% compared to head (36412d8) 91.03%.
Report is 34 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3882      +/-   ##
==========================================
+ Coverage   90.99%   91.03%   +0.03%     
==========================================
  Files         900      902       +2     
  Lines       57502    57714     +212     
==========================================
+ Hits        52326    52540     +214     
+ Misses       5176     5174       -2     
Flag Coverage Δ
gcov 91.03% <97.94%> (+0.03%) ⬆️
luacov 93.74% <97.94%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
spec/gears/surface_spec.lua 100.00% <100.00%> (ø)
lib/gears/surface.lua 76.62% <92.50%> (+5.57%) ⬆️

... and 14 files with indirect coverage changes

@Elv13 Elv13 merged commit 00ba63b into awesomeWM:master Dec 31, 2023
11 checks passed
@Elv13 Elv13 deleted the add_crop branch December 31, 2023 23:15
duxedo pushed a commit to duxedo/awesome that referenced this pull request Mar 24, 2024
* added surface crop function

* added busted tests

* added devShell Flake

* Revert "added devShell Flake"

This reverts commit 0acb3d4.

* 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 <[email protected]>

* make error message shorter

* surface.crop: Fix doc warnings.

---------

Co-authored-by: Paul Schneider <[email protected]>
Co-authored-by: Paul Schneider <[email protected]>
Co-authored-by: Lucas Schwiderski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants