Commit Graph

31223 Commits

Author SHA1 Message Date
Paul Davis
41d68e780f do not trigger visual changes when Fill::set_* methods don't change anything 2013-04-26 14:19:16 -04:00
Paul Davis
db34831b18 redesign toggling of editor/mixer stacking to use Gtkmm2ext::VisibilityTracker 2013-04-26 14:12:52 -04:00
Paul Davis
f9a46e78d6 fix incorrect 3rd arg to AudioRegion::read_peaks() - was passing end, not cnt. Fixes waveforms at high zoom 2013-04-26 11:10:19 -04:00
Paul Davis
7de31d5a41 use virtual bool canvas_group_event () in TimeAxisViewItems to get suitably delegatable/inherited event handling 2013-04-25 16:06:12 -04:00
Paul Davis
b604dd2413 make MIDI rubber band selects use the correct canvas item so that event processing works 2013-04-25 16:05:21 -04:00
Paul Davis
298d0efc31 reduce playhead line width to 1.5 2013-04-25 16:04:33 -04:00
Paul Davis
f8a37b197f tweak enter/leave code, remove debug output 2013-04-25 09:49:02 -04:00
Paul Davis
fd7ac62ca5 don't invalidate image cache for every regionr esize, only region start changes 2013-04-25 09:48:38 -04:00
Paul Davis
d0867e67e3 more tweaks for enter/leave events for canvas items 2013-04-24 22:57:23 -04:00
Paul Davis
737433c446 tweaks to improve enter/leave event handling - fixes at least some crashes caused by this stuff 2013-04-24 18:31:00 -04:00
Paul Davis
6f664c1f67 many pervasive changes primarily related to waveform drawing, particular content-dragging, colors, and more 2013-04-24 15:42:14 -04:00
Adrian Knoth
5e2e8e2cae Drop obsolete file gtk2_ardour/imageframe.cc 2013-04-22 20:57:00 +02:00
Adrian Knoth
7d8ada01d2 Drop obsolete file canvas-imageframe.h 2013-04-22 20:57:00 +02:00
Adrian Knoth
e2d8f25d0c Merge important bits from canvas-image.h into imageframe.h 2013-04-22 20:56:34 +02:00
Adrian Knoth
7ca29e7c75 Add proper GPL license to gtk2_ardour/canvas-imageframe.h
Since the file has been part of libgnomecanvas, it is GPL, too.
2013-04-22 20:47:52 +02:00
Adrian Knoth
61153f7b87 Drop obsolete gtk2_ardour/canvas-imageframe.c
The code is not referenced in the build system anymore.
2013-04-22 20:43:02 +02:00
Adrian Knoth
13ad68c73c Drop obsolete dmalloc.cc from libs/pbd.
The file relies on -DDEBUG_MALLOC and references

i   #include "/usr/local/src/dmalloc-4.1.2/return.h"

It is safe to assume that it's dead code.
2013-04-22 20:18:36 +02:00
Adrian Knoth
ef1fb4161a Disable obsolete compilation of libs/pds/dmalloc.cc
The file relies on -DDEBUG_MALLOC and references

  #include "/usr/local/src/dmalloc-4.1.2/return.h"

It is safe to assume that it's dead code.
2013-04-22 20:18:36 +02:00
Adrian Knoth
5aa8e8598c Delete *.bak files 2013-04-22 20:02:08 +02:00
Adrian Knoth
55e07a7243 Drop obsolete powermate code from libs/surface 2013-04-22 19:33:19 +02:00
Adrian Knoth
c72c7e6575 Fix license in fastlog.
Date: Mon, 22 Apr 2013 19:09:04 +0200
From: Laurent de Soras <laurent.de.soras@free.fr>
To: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Subject: Re: License of FastLog

Hi Adrian,

> Several open-source projects like Ardour use the code below which has
> no explicit license.
>
> If you agree (read: reply), we'd like to add the MIT license to this
> file, that is, change the copyright statement to the following text:

Nowadays I license my code under the WTFPL, which should
be compatible with the traditional open source licenses.
So please use this one instead:
<http://www.wtfpl.net/about/>

--
Laurent de Soras                  |               Ohm Force
DSP developer & Software designer |  Digital Audio Software
http://ldesoras.free.fr           | http://www.ohmforce.com
2013-04-22 19:21:16 +02:00
Paul Davis
b36e085001 add back change lost during branch merging 2013-04-21 18:57:55 -04:00
Paul Davis
0a2a876248 remove probably premature-or-no-longer-necessary optimization of measure line drawing 2013-04-21 15:35:20 -04:00
Paul Davis
eb23bd8102 add Group::clear(), do not clear _canvas member of Item when unparented (only the parent is changed) 2013-04-21 15:35:20 -04:00
Paul Davis
b02a7445bf Revert "add Group::clear(), do not clear _canvas member of Item when unparented (only the parent is changed)"
This reverts commit a4df65a56f83823aba27432685977f420458a213.
2013-04-21 15:35:20 -04:00
Paul Davis
fca81c9a6a add Group::clear(), do not clear _canvas member of Item when unparented (only the parent is changed) 2013-04-21 15:35:20 -04:00
Robin Gareus
fee8de9787 Revert "cairo image crash debugging" and "initialize image data"
This reverts commit dfdb91b429
and commit 188d766757.

despite earlier assumptions the code is correct and there is
likely a memory corruption elsewhere.
2013-04-20 23:36:13 +02:00
Robin Gareus
dfdb91b429 cairo image crash debugging 2013-04-20 22:51:37 +02:00
Paul Davis
f88cfdb478 remove Editor::redraw_measures to improve efficiency of tempo measure line redraws 2013-04-20 16:11:40 -04:00
Paul Davis
05905d3ec8 thicken up playhead line (again?) 2013-04-20 16:11:40 -04:00
Paul Davis
9a3bc39970 tweak event/leave event delivery so that it applies to items being deleted as well as motion events (hmm, needed for item addition too ...) 2013-04-20 16:11:40 -04:00
Paul Davis
9fdf60b637 change widths of fade lines 2013-04-20 16:11:40 -04:00
Robin Gareus
188d766757 initialize image data. 2013-04-20 22:07:43 +02:00
Robin Gareus
a366fba7d0 refine video-tools installer:
* arch/platform detection
* curl progress-bar
2013-04-20 14:52:18 +02:00
Robin Gareus
d1c4910f13 add script to install video-tools 2013-04-20 14:31:11 +02:00
Paul Davis
0c170b0897 no create cached waveview images that span from render-start to cache-start, but always clamp the end to render-end, to avoid creating over-sized images 2013-04-19 10:53:52 -04:00
Paul Davis
e55ed5d642 revert to "old" waveform fill color for unselected waveforms 2013-04-19 10:12:40 -04:00
Paul Davis
41abef90d0 fix up "other" fade line colors in xfades, and switch to using canvas var "CrossfadeLine" for crossfade "lines" rather than "GainLine" 2013-04-18 21:30:12 -04:00
Paul Davis
907e7cd4af part two of ... add Canvas::Arc and derive Canvas::Circle from it 2013-04-18 21:29:13 -04:00
Paul Davis
8482ce14ce add Canvas::Arc and derive Canvas::Circle from it 2013-04-18 21:28:11 -04:00
Paul Davis
5bb213f53b add Canvas::Circle 2013-04-18 15:47:30 -04:00
Paul Davis
74126c48c0 expand bbox for Canvas::Line to get rid of artifacts caused when moving them around, as is done for Rectangle and others 2013-04-18 15:47:10 -04:00
Paul Davis
ddd21c110c fix various event coordinate system problems with button events on the rulers 2013-04-18 15:14:48 -04:00
Paul Davis
55d7e8da19 reset xfade colors after theme change 2013-04-18 14:21:53 -04:00
Paul Davis
19b6b45a2a get xfade drawing back to pre-cc days 2013-04-18 11:18:18 -04:00
Paul Davis
ec8d521e98 semi-fix xfade display, and reduce number of calls to Curve::get_vector() by a factor of two 2013-04-18 09:56:01 -04:00
Robin Gareus
b7aeb147f2 display waveform polarity correctly
* cairo's Y axis points downward -> invert phase display
* fix logarithmic view for value.max < 0
2013-04-18 10:25:35 +02:00
Paul Davis
731b2c1ae9 tweak up waveform fill colors 2013-04-17 15:32:39 -04:00
Paul Davis
fce1733808 fix playhead dragging from rulers 2013-04-17 15:29:03 -04:00
Paul Davis
3737f346ee Merge branch 'cairocanvas' of git.ardour.org:ardour/ardour into cairocanvas 2013-04-17 15:23:01 -04:00