Commit Graph

468 Commits

Author SHA1 Message Date
Nick Mainsbridge
e513d106d7 lower zoom step slightly, speed up autoscrolling when snapping to sub-beats (esp 32), make grid lines disappear when on coarse zoom, put grid lines in the idle thread (called from the idle thread.. interesting..), make current_bbt_points coarser so the bbt_ruler and grid lines can use it instead of making their own list, clean up bbt ruler.
git-svn-id: svn://localhost/ardour2/trunk@905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-04 16:04:09 +00:00
Nick Mainsbridge
cb17e3cc81 make autoscroll a bit easier to use, fix missing measure lines when moving the editor pane, slight optimisation(?) of canvas-simplerect (seems to make a difference to me), fix dirty pixels when moving regions across tracks sometimes. some code cleanup.
git-svn-id: svn://localhost/ardour2/trunk@885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-02 02:54:04 +00:00
Doug McLain
9b578bfff2 If you rename a session directory, it will no longer open from the recent sessions treeview, since child nodes are not created for sessions with only one snapshot. This change creates child nodes for all sessions, allowing you to rename a sessions directoy without breaking the recent sessions.
git-svn-id: svn://localhost/ardour2/trunk@884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-01 09:28:41 +00:00
Taybin Rutkin
78e13c37f4 Synced string array in sfdb_ui.cc with ImportMode enum.
Cleaned up CoreAudioSource by using CAAudioFile.


git-svn-id: svn://localhost/ardour2/trunk@881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-01 01:59:41 +00:00
Taybin Rutkin
9bc22f6f86 Fixed compilation of CoreAudioSource
Seperated AUDIOUNITS support from COREAUDIO support.
Fixed metadata saving in SfdbUI.


git-svn-id: svn://localhost/ardour2/trunk@879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-31 16:34:42 +00:00
Paul Davis
21d85f1854 merge changes from harrison branch back into trunk, by hand
git-svn-id: svn://localhost/ardour2/trunk@878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-31 13:23:43 +00:00
Nick Mainsbridge
a61f25dfe9 ** requires svn jack ** Hardware monitoring should work, some canvas scrolling speed improvement, don't disconcertingly churn the disk if jack auto-start fails, mixer visibility state is saved per session, slow down meters a bit (too much?), zoom cleanups, remove some unused variables, use rwlock for tempo state for no reason other than that it might be useful one day, fix compiler warning.
git-svn-id: svn://localhost/ardour2/trunk@873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-30 20:48:16 +00:00
Paul Davis
6535cd1b1d used shared_ptr<Source>, somewhat successfully
git-svn-id: svn://localhost/ardour2/trunk@861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-29 00:23:45 +00:00
Sampo Savolainen
c871ca6d98 shared_ptr<Region> fixes
git-svn-id: svn://localhost/ardour2/trunk@857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-25 20:23:58 +00:00
Paul Davis
ce234f363e use shared_ptr<> for all region handling
git-svn-id: svn://localhost/ardour2/trunk@852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-25 01:07:15 +00:00
Sampo Savolainen
29d58af438 .. and make autoscrolling a bit faster.
git-svn-id: svn://localhost/ardour2/trunk@846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-23 18:34:57 +00:00
Sampo Savolainen
ba09117dfa Make canvas autoscroll work properly.
git-svn-id: svn://localhost/ardour2/trunk@845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-23 18:29:22 +00:00
Paul Davis
3c3a204ad3 further optimizations for multiple-track-at-once addition. as in "whoah!"
git-svn-id: svn://localhost/ardour2/trunk@836 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-17 02:12:20 +00:00
Paul Davis
199dce57f3 make adding multiple tracks more efficient (a *lot* more efficient)
git-svn-id: svn://localhost/ardour2/trunk@834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-16 20:22:44 +00:00
Paul Davis
1ae0948138 RCU-ification of AudioEngine port list, and DiskStreams. not well tested, but basically functional. better to get this in now rather than later.
git-svn-id: svn://localhost/ardour2/trunk@828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-16 01:19:06 +00:00
Sampo Savolainen
e706680e3d Make bar lines on the canvas draw from top to bottom no matter how few
tracks are visible.

Make tracks toggle when ctrl-clicked


git-svn-id: svn://localhost/ardour2/trunk@824 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-14 19:19:06 +00:00
Sampo Savolainen
b5c9a0cfc2 Make track selection visible in track headers.
git-svn-id: svn://localhost/ardour2/trunk@823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-14 16:19:54 +00:00
David Robillard
5dae75555e Fix initial displayed state of zoom focus selector dropbox
git-svn-id: svn://localhost/ardour2/trunk@820 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-14 00:26:54 +00:00
Hans Fugal
cf3b3205f9 Fixed ./ar{dev,dbg}
git-svn-id: svn://localhost/ardour2/trunk@817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-13 01:51:38 +00:00
Hans Fugal
b13dc9884e r268@gwythaint (orig r808): fugalh | 2006-08-12 16:31:45 -0600
r269@gwythaint (orig r809):  fugalh | 2006-08-12 16:33:00 -0600
  r321@gandalf:  fugalh | 2006-08-12 15:48:28 -0600
  Behold serialized undo.
 
 r270@gwythaint (orig r810):  fugalh | 2006-08-12 16:33:10 -0600
  r322@gandalf:  fugalh | 2006-08-12 15:49:05 -0600
  A few ardev and ardbg enhancements.
 
 r271@gwythaint (orig r811):  fugalh | 2006-08-12 16:33:20 -0600
  r329@gandalf:  fugalh | 2006-08-12 15:54:49 -0600
  Cleaning up some printf debugging
 
 r272@gwythaint (orig r812):  fugalh | 2006-08-12 16:33:38 -0600
 
 r273@gwythaint (orig r813):  fugalh | 2006-08-12 16:33:48 -0600
  r338@gandalf:  fugalh | 2006-08-12 16:30:19 -0600
  Oops, forgot one
 
 r274@gwythaint (orig r814):  fugalh | 2006-08-12 17:19:56 -0600
 Remove -x from ardbg, fix bug in memento command factory


git-svn-id: svn://localhost/ardour2/trunk@815 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 23:20:11 +00:00
Hans Fugal
92ab112480 Remove -x from ardbg, fix bug in memento command factory
git-svn-id: svn://localhost/ardour2/branches/undo@814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 23:19:56 +00:00
Hans Fugal
0cde6a54ed git-svn-id: svn://localhost/ardour2/branches/undo@812 d708f5d6-7413-0410-9779-e7cbd77b26cf 2006-08-12 22:33:38 +00:00
Hans Fugal
8ee6045cf4 r321@gandalf: fugalh | 2006-08-12 15:48:28 -0600
Behold serialized undo.


git-svn-id: svn://localhost/ardour2/branches/undo@809 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:33:00 +00:00
Hans Fugal
f6347b205c r260@gwythaint (orig r800): fugalh | 2006-08-12 15:53:10 -0600
r322@gandalf:  fugalh | 2006-08-12 15:49:05 -0600
  A few ardev and ardbg enhancements.
 


git-svn-id: svn://localhost/ardour2/trunk@806 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:01:08 +00:00
Hans Fugal
461b4326a1 r259@gwythaint (orig r799): fugalh | 2006-08-12 15:52:56 -0600
r321@gandalf:  fugalh | 2006-08-12 15:48:28 -0600
  Behold serialized undo.
 


git-svn-id: svn://localhost/ardour2/trunk@805 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:00:57 +00:00
Hans Fugal
37bfd8900c r257@gwythaint (orig r797): fugalh | 2006-08-12 15:49:20 -0600
r316@gandalf:  fugalh | 2006-08-11 17:06:48 -0600
  Reconstitution. Comiples, untested.
 


git-svn-id: svn://localhost/ardour2/trunk@803 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 22:00:34 +00:00
Hans Fugal
1f20fbbad8 merge from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 21:57:07 +00:00
Hans Fugal
9ff901b1e7 r322@gandalf: fugalh | 2006-08-12 15:49:05 -0600
A few ardev and ardbg enhancements.


git-svn-id: svn://localhost/ardour2/branches/undo@800 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 21:53:10 +00:00
Hans Fugal
81b9700c14 r321@gandalf: fugalh | 2006-08-12 15:48:28 -0600
Behold serialized undo.


git-svn-id: svn://localhost/ardour2/branches/undo@799 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 21:52:56 +00:00
Hans Fugal
57f7f71ce3 r316@gandalf: fugalh | 2006-08-11 17:06:48 -0600
Reconstitution. Comiples, untested.


git-svn-id: svn://localhost/ardour2/branches/undo@797 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 21:49:20 +00:00
Hans Fugal
f995ac3786 merge from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-12 01:36:34 +00:00
Paul Davis
66054fe5d6 new RCU implementation, using an extra layer of indirection allowing us to use g_atomic_pointer_compare_and_exchange(); bug fix for tape tracks, not sure why this never manifested before
git-svn-id: svn://localhost/ardour2/trunk@793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 23:02:08 +00:00
Taybin Rutkin
b099d2aa87 Remove unnecessary header usage.
AUPluginUI displays an empty window.


git-svn-id: svn://localhost/ardour2/trunk@792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 20:35:55 +00:00
Hans Fugal
1a03f9440d Rect fix
git-svn-id: svn://localhost/ardour2/trunk@789 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-11 15:27:51 +00:00
Taybin Rutkin
5596fe35df Removed unnecessary AudioEngine argument to FooPluginUIs.
git-svn-id: svn://localhost/ardour2/trunk@785 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 17:35:58 +00:00
Hans Fugal
a1aa6d2ae1 history snapshot name
git-svn-id: svn://localhost/ardour2/branches/undo@784 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 14:56:20 +00:00
Sampo Savolainen
00bf20c236 Plugin selector keyboard focus should now stay in the plugin list. More
sensible defaults for the NSD and accelerators will work in plugin 
windows (plus keyboard will not affect the plugin window itself).


git-svn-id: svn://localhost/ardour2/trunk@783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 14:41:53 +00:00
Taybin Rutkin
77a13df5bd Moved PluginInfo::Type to ARDOUR::PluginType in ardour/types.h.
Figured out (mostly) AUPluginUI hierarchy.
Moved LadspaPluginUI to its own ladspa_pluginui.cc file.


git-svn-id: svn://localhost/ardour2/trunk@782 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 04:01:15 +00:00
David Robillard
d4dd338beb - Fixed a buffer size bug when ~/.ardour2 doesn't exist (can't load configuration), if in a hacky way
- Removed useless workbuf/conversion_buffers (same thing), uneeded with libsndfile


git-svn-id: svn://localhost/ardour2/trunk@781 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 03:04:13 +00:00
Hans Fugal
ae95684d22 merging to trunk, bugfix
git-svn-id: svn://localhost/ardour2/trunk@780 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 01:46:55 +00:00
Hans Fugal
74b19eadfa Can pass a core to ardbg now. Fixed sometimes crash on saving history by
creating a memory leak(?) that will go away with the transition of XMLNode* to
shared_ptr<>. A few bits toward restoring history from XML.


git-svn-id: svn://localhost/ardour2/branches/undo@779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 01:45:49 +00:00
David Robillard
60e9d9c3df A few minor warning fixes
git-svn-id: svn://localhost/ardour2/trunk@776 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-10 00:56:04 +00:00
Hans Fugal
a160eb92db merge from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 21:31:36 +00:00
Hans Fugal
5863128553 r229@gwythaint (orig r769): fugalh | 2006-08-09 08:15:05 -0600
r283@gandalf:  fugalh | 2006-08-09 08:13:37 -0600
  Save state basics, including adding PBD::ID to the delinquents. Compiles but needs to be tested (because I can't get the whole thing to compile on OSX due to the Rect problem).
 


git-svn-id: svn://localhost/ardour2/trunk@772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 21:29:43 +00:00
Hans Fugal
514daa01ec r227@gwythaint (orig r767): fugalh | 2006-08-09 08:14:17 -0600
r274@gandalf:  fugalh | 2006-08-07 19:53:48 -0600
  Nuke Serializable in favor of Stateful. Got rid of some warnings with stub
  code.
 


git-svn-id: svn://localhost/ardour2/trunk@770 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 21:29:18 +00:00
Hans Fugal
c26215c1e5 r283@gandalf: fugalh | 2006-08-09 08:13:37 -0600
Save state basics, including adding PBD::ID to the delinquents. Compiles but needs to be tested (because I can't get the whole thing to compile on OSX due to the Rect problem).


git-svn-id: svn://localhost/ardour2/branches/undo@769 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 14:15:05 +00:00
Hans Fugal
a32175bd41 r274@gandalf: fugalh | 2006-08-07 19:53:48 -0600
Nuke Serializable in favor of Stateful. Got rid of some warnings with stub
 code.


git-svn-id: svn://localhost/ardour2/branches/undo@767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 14:14:17 +00:00
Taybin Rutkin
7cda434904 Renamed PluginUI to LadspaPluginUI to make things more clear.
git-svn-id: svn://localhost/ardour2/trunk@766 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-09 04:53:12 +00:00
Sampo Savolainen
3220684ade New session dialog fixups:
- The name specified on the command line for the new
   session comes up in the dialog
 - The editor will not appear below the NSD at startup

Command line parameter fixups:
 - You can't specify both a new session and a old
   session to load at the same time.
 - Ardour will abort if command line parameters are
   incorrect

Declick faster. Fixes audible and annoying volume ramps 
when running ardour at large buffer sizes.

Make it impossible to arm tracks which have un-connected
inputs.




git-svn-id: svn://localhost/ardour2/trunk@765 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-08 21:27:41 +00:00
Hans Fugal
f07cb624c0 pull from trunk
git-svn-id: svn://localhost/ardour2/branches/undo@764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-08 21:11:23 +00:00