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 Exceptions.h back to OpenShot.h #629

Merged
merged 1 commit into from Jan 29, 2021

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Jan 29, 2021

I hadn't actually intended to remove #include "Exceptions.h" from OpenShot.h, that was an overzealous find-and-replace on my part. I'm fine with OpenShot.h being the only header that does automatically include it, even though for most practical applications I feel OpenShot.h is now far too heavy to actually use.

(Our own unit tests have stopped using it in favor of targeted includes, for example, because it'd been building in this direction for a while, and OpenCV was the tipping point on #include "OpenShot.h" bringing in way too much stuff and excessively slowing down each source file's compilation. Still, for convenience it's "fine", and should include the exception definitions as well.)

@codecov
Copy link

codecov bot commented Jan 29, 2021

Codecov Report

Merging #629 (c93e3fa) into develop (aed0052) will decrease coverage by 1.08%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #629      +/-   ##
===========================================
- Coverage    51.89%   50.80%   -1.09%     
===========================================
  Files          151      148       -3     
  Lines        12341    11780     -561     
===========================================
- Hits          6404     5985     -419     
+ Misses        5937     5795     -142     
Impacted Files Coverage Δ
src/effects/Blur.h 0.00% <0.00%> (-50.00%) ⬇️
src/effects/Negate.h 0.00% <0.00%> (-50.00%) ⬇️
src/FFmpegWriter.h 0.00% <0.00%> (-25.00%) ⬇️
src/effects/Blur.cpp 45.94% <0.00%> (-17.70%) ⬇️
src/ImageWriter.h 33.33% <0.00%> (-16.67%) ⬇️
src/FFmpegWriter.cpp 51.08% <0.00%> (-8.86%) ⬇️
src/Timeline.cpp 39.93% <0.00%> (-3.73%) ⬇️
src/FFmpegReader.cpp 67.77% <0.00%> (-1.30%) ⬇️
src/Frame.cpp 45.92% <0.00%> (-0.86%) ⬇️
src/FrameMapper.cpp 90.88% <0.00%> (-0.51%) ⬇️
... and 40 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aed0052...ad93329. Read the comment docs.

@ferdnyc ferdnyc merged commit 6852d15 into OpenShot:develop Jan 29, 2021
@ferdnyc ferdnyc deleted the exception-header branch January 29, 2021 09:10
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.

None yet

1 participant