13
0
livetrax/libs/canvas
Robin Gareus 9e75235912
Fix crashes on ARM due to window-size overflow
On Intel systems ArdourCanvas::COORD_MAX (1.7e+307) was rounded
to (gint) -2147483648. gtk+ treats negative window size-requests
as 1px.

However on ARM, COORD_MAX was truncated to +2147483648, gtk+ limits
this to 65535. Most WM/Xwin systems cannot handle windows this large.
It also exceeds the max size of cairo [image] surfaces.

This issue was introduced in a1c67b4ad7
when "natural_size" was removed. Before that change infinitely large
canvas had a natural_size of 2x2 px.
2022-03-09 21:14:53 +01:00
..
benchmark
canvas
doc
MSVCcanvas
test
arc.cc
arrow.cc
box.cc
build-and-run-benchmark.sh
build-and-run-manual-test.sh
build-and-run-tests.sh
canvas.cc Fix crashes on ARM due to window-size overflow 2022-03-09 21:14:53 +01:00
circle.cc
container.cc
ct
curve.cc
debug.cc
fill.cc
flag.cc
framed_curve.cc
grid.cc
image.cc
item.cc canvas: fixing missing initializer for _scroll_translation in 3rd Item constructor 2022-01-27 14:02:34 -07:00
line_set.cc
line.cc
lookup_table.cc
meter.cc
note.cc
Notes
outline.cc
pixbuf.cc
poly_item.cc
poly_line.cc
polygon.cc
rectangle.cc
root_group.cc Remove 18 month old debug messages 2022-02-01 22:01:41 +01:00
ruler.cc
run-manual-test.sh
run-tests.sh
scroll_group.cc
stateful_image.cc
step_button.cc
table.cc
text.cc
tracking_text.cc
types.cc
utils.cc
widget.cc
wscript wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00
xfade_curve.cc