Commit Graph

17 Commits

Author SHA1 Message Date
Sergio Martins
81c180fbfd Debug++ 2020-01-27 22:12:28 +00:00
Sergio Martins
07f9e9a0df Fix fuzzer testcase failing/2.json
And renamed it to 17.json, as we already have an unrelated 2.json.

The removed check isn't needed, as we'll check again when we
finish restoring the placeholder. It was also a false-positive
warning sometimes because boundPositionForAnchor() would fail
since the "anchors following" wasnt initialized yet, as we do
a clearAnchorsFollowing while restoring the placeholder
2020-01-27 18:47:37 +00:00
Sergio Martins
6dd8a0cda1 Debug++ 2020-01-27 18:35:01 +00:00
Sergio Martins
25f3e83fc3 Debug++ 2020-01-27 18:30:13 +00:00
Sergio Martins
8898ec82a4 Don't account for the anchor thickness of an anchor which is following
Fixes fuzzer testcase 10
2020-01-24 11:26:35 +00:00
Sergio Martins
9ca03b65f0 Improve comment
The function already explains what it does.
2020-01-24 10:12:15 +00:00
Sergio Martins
da3917ae64 Replace assert with a warning and early return
A warning will still abort the unit-tests, so it's fine
2020-01-22 22:53:18 +00:00
Sergio Martins
0003b508d6 Bound interval when adding the widget
rectForDrop() doesn't know about the anchors bounds, so we need to
adjust the interval after. Fixes fuzzer testcase 16
2020-01-22 22:49:45 +00:00
Sergio Martins
d5162efa31 When calculating bounds start from the anchor we're following 2020-01-22 21:50:39 +00:00
Sergio Martins
a71361341c Don't warn when updateAnchorFollowing is being executed 2020-01-22 21:46:18 +00:00
Sergio Martins
4ca140c0cc Fix unmatched beginBlockPropagateGeo()
Fixes an assert
2020-01-08 09:56:03 +00:00
Allen Winter
df692686e7 various - update copyright year 2020-01-07 11:36:56 -05:00
Sergio Martins
6be6aee56a Fix dock widgets not filling their complete available space
To repro:
 - stack 3 dock widgets vertically
 - close the top one
 - close the top one
 The remaining one should now fill the whole window but it wasn't.

Culprit was the code that makes sure that when a dock is closed that
the adjacent ones get to share their space
2019-12-23 14:28:40 +00:00
Sergio Martins
af1a26ef59 Debug++ 2019-12-08 16:37:53 +00:00
Sergio Martins
83f6bb8daf Remove some sanity checks, no longer needed
Silenced a false-positive warning about anchor visibility.
It was invisible because we're within a main window show()

It will be checked by the unit-tests and fuzzer anyway. No need to
do it in production.
2019-10-22 15:28:50 +01:00
Sergio Martins
de42a4a33c Remove some asserts that aren't needed anymore
They were useful during development.
They have a warning anyway, so the tests and fuzzer will still fail
if something bad happens
2019-10-20 20:32:35 +01:00
Sergio Martins
787f7802be Move the private code into a private/ folder
It's nice to have a similar include hierarchy at build time and install
time.

It also makes things more explicit
2019-10-20 19:24:54 +01:00