Re: [Audacity-devel] Large commit coming -- VS project will need updating
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Al D. <bus...@gm...> - 2009-10-31 21:19:25
|
On Saturday 31 October 2009 14:57:54 Gale Andrews wrote: > | From Al Dimond <bus...@gm...> > | Sat, 31 Oct 2009 14:03:43 -0600 > | Subject: [Audacity-devel] Large commit coming -- VS project will > | need updating > | > | > On Saturday 31 October 2009 13:54:22 Gale Andrews wrote: > > > | From Al Dimond <bus...@gm...> > > > | Sat, 31 Oct 2009 09:20:30 -0600 > > > | Subject: [Audacity-devel] Large commit coming -- VS project > > > | will need updating > > > | > > > > I'm about to commit a lot of stuff that I've been working on, > > > > regarding mostly the labeled regions commands, and copying > > > > and pasting labels. This follows several discussions on this > > > > list and some off-list discussions with Gale and Bill. > > > > Important parts of this include: > > > > > > > > - When you copy tracks to the clipboard, the system > > > > clipboard is set to represent the labels selected. Any label > > > > fully overlapped by the selection is added, with labels > > > > separated by tabs and label tracks separated by newlines. > > > > - It's much easier to copy from/paste to label tracks -- the > > > > system clipboard text is only used if it's changed since the > > > > last copy, otherwise you get the label track as copied. > > > > - With linking enabled when you select the whole length of a > > > > track the selection extends to the length of the longest > > > > group track. - A lot of bug fixes in Labeled Regions commands > > > > - Edit->Labeled Regions->Cut/Delete are disabled when linking > > > > is enabled. > > > > > > > > There was a CaptureEvents class defined in LabelTrack.cpp to > > > > work around a wxGTK/wxClipboard bug. As the clipboard is now > > > > used in a couple more places I split that workaround out into > > > > its own files, src/CaptureEvents.cpp and src/CaptureEvents.h. > > > > src/Makefile.in has been updated, and I'm pretty sure I got > > > > the XCode project updated correctly, but the Visual Studio > > > > project will still need them to be added. > > > > > > > > If there are any other problems with these changes let me > > > > know. > > > > > > Hi Al > > > > > > I added src/CaptureEvents.cpp and src/CaptureEvents.h locally > > > to audacity/win/Projects/Audacity/Audacity.vcproj (not > > > committed yet) but in Menus.cpp I get this when compiling: > > > > > > Menus.cpp > > > ..\..\..\src\Menus.cpp(3725) : error C2660: > > > 'AudacityProject::EditByLabel' : function does not take 1 > > > arguments ..\..\..\src\Menus.cpp(3737) : error C2660: > > > 'AudacityProject::EditByLabel' : function does not take 1 > > > arguments ..\..\..\src\Menus.cpp(3749) : error C2660: > > > 'AudacityProject::EditByLabel' : function does not take 1 > > > arguments ..\..\..\src\Menus.cpp(3761) : error C2660: > > > 'AudacityProject::EditByLabel' : function does not take 1 > > > arguments ..\..\..\src\Menus.cpp(3773) : error C2660: > > > 'AudacityProject::EditByLabel' : function does not take 1 > > > arguments ..\..\..\src\Menus.cpp(3785) : error C2660: > > > 'AudacityProject::EditByLabel' : function does not take 1 > > > arguments > > > > What do you have on those lines? You may have had a merge > > conflict or something that prevented changes from being applied > > (this could especially be true if you had one of my earlier > > patches applied when you updated). In the version I committed > > the calls have all been changed to use two arguments. > > On 3725 for example: > > EditByLabel( &WaveTrack::Clear ); > > The whole tree is exactly as per CVS HEAD, and I'm building into an > empty folder. But "do a new checkout", I guess. > > Odd. 'cvs diff src/Menus.cpp' shows no differences for me, and the lines look like: EditByLabel( &WaveTrack::Clear, true ); Based on the spacing of EditByLabel() calls, these appear to be the last 6 of them, which are between lines 3812 and 3871 for me. > > > Gale > > > > > ------------------------------------------------------------------- > ----------- Come build with us! The BlackBerry(R) Developer > Conference in SF, CA is the only developer event you need to > attend this year. Jumpstart your developing skills, take > BlackBerry mobile applications to market and stay ahead of the > curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |