1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-26 00:58:37 +02:00

39 Commits

Author SHA1 Message Date
lllucius
b7257c9420 Fix for bug #786 2014-12-04 08:01:58 +00:00
james.k.crook@gmail.com
c71397beae Changes to seeking and scrubbing from Paul Licameli.
These are mostly under an EXPERIMENTAL_ #ifdef.  Also has a change for the prompt string for preferences so the displayed keybinding is adjusted when in multitool mode.
2014-11-29 22:09:57 +00:00
lllucius
c512822138 Additional changes for wx3
These are mostly for getting it to build on Linux, but I've
also created new configs in Visual Studio to make it easier
to switch between wx2 and wx3.

For Linux, you have to tell configure where to find the wx3
version of the wx-config script and, since some distros build
wxWidgets v3 against GTK+ v3, you may also need to enable
gtk3 with something like:

./configure --enable-gtk3 WX_CONFIG=/usr/bin/wx-config-3.0

On Windows, I've added "wx3-Debug" and "wx3-Release" to the
existing "Debug" and "Release" configurations.

They depend on you having your WXWIN environment variable
pointing to your wx2 directory and a new WXWIN3 environment
variable pointing to your wx3 directory.  For instance, I
have:

WXWIN=C:\Users\yam\Documents\wxWidgets-2.8.13
WXWIN3=C:\Users\yam\Documents\wxWidgets-3.0.2

Doing this allows you to switch freely among the 4 configurations
without having to get out of Visual Studio and monkey around with
the environment.

The project files will also add the location of the wxWidgets DLLs
to the PATH when running Audacity from within Visual Studio.  They
add %WXWIN%\lib\vc_dll or %WXWIN3%\lib\vc_dll at the beginning
of the PATH variable as appropriate.

I expect that once we convert to wx3 we'll just drop back down to
the normal Debug and Release configurations, but this should make
switching between wx2 and wx3 much easier during the transition.
2014-10-16 16:18:04 +00:00
lllucius@gmail.com
91f311559f Fix it correctly based on Paul L's guidance. 2014-10-05 23:27:50 +00:00
lllucius@gmail.com
a803f8bc38 Fix Linux build 2014-10-05 23:11:09 +00:00
james.k.crook@gmail.com
f5e593cc4c Paul L's new SelectedRegion class replacing use of t0 and t1. Also LabelTrack.h no longer in TrackPanel.h includes.
This change is believed to be a direct refactoring that does not change functionality.  It paves the way for more complex kinds of selection, such as selections involving frequency as well as time.  It also reduces risk of left and right edges being swapped in future code using SelectedRegion, as the default is to swap on assignment if needed.
2014-10-05 17:10:09 +00:00
benjamin.drung@gmail.com
277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
lllucius
2f89ef9bae TAB to the nearest label when the label track has focus. 2013-09-24 05:41:22 +00:00
martynshaw99
4ce2643d5f Remove the
// Indentation settings for Vim and Emacs
etc. lines from all files, as Campbell's patch (except for other changes to Languages.cpp)
2013-09-24 00:14:37 +00:00
RichardAsh1981@gmail.com
28e9f0ca73 make many functions which do not require access to class member variables static so they can be called without an object to do so with. Based on part of a patch by Campbell Barton 2013-09-21 19:15:42 +00:00
v.audacity
fe01337aaa Remove a couple of compiler warnings. 2013-06-30 04:07:48 +00:00
v.audacity
3d204337aa Steve's Daulton's patch for bug 640 2013-06-30 03:47:59 +00:00
james.k.crook@gmail.com
4ca5984081 Steve Daulton's fix for Bug 636 - Return now toggles selection in label track. 2013-04-28 08:40:21 +00:00
v.audacity
29f1325c75 Fix bug 331 (P3). 2012-08-03 22:59:25 +00:00
v.audacity
e0fb5c898f Benjamin's patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=466 2012-07-18 23:32:36 +00:00
v.audacity
312fee2c77 BenBenjamin Drung's patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=466 2012-06-25 00:13:59 +00:00
james.k.crook@gmail.com
6817143d2b width becomes fTimeSpan (in response to an ANSWER-ME). Avoids confusion with 'width' in the label, which is a pixel width of the label's text. 2012-02-09 13:10:36 +00:00
v.audacity
5f5b9778de Fixes per Vigilant Sentry (http://www.vigilantsw.com/)
* Fix memory leaks.

* Add comments about initializations and checking for successful results.

* Add checks for NULL deref.

* Consistency in "TODO" vs "TO-DO" comments!
2012-02-08 05:09:14 +00:00
BusinessmanProgrammerSteve
f6327602e8 Improve consistency of copy/paste operations in label tracks;
use new background-drawing function in label tracks.
2010-09-18 17:41:15 +00:00
v.audacity
f28d91a599 Consolidate multiple names for the same feature: sticky/linked/sync/synchro/grouped -> sync-lock. 2010-08-11 23:15:00 +00:00
v.audacity
209a2b193d Consolidate multiple names for the same feature: sticky/linked/sync/synchro/grouped -> sync-lock. 2010-08-11 22:47:26 +00:00
BusinessmanProgrammerSteve
45011d7032 Fix bug 177: Unwanted label appears if pasting audio when there are already
labels.

In LabelTracks Paste() just calls Copy() and Clear(); this change makes sure
Clear() doesn't skip a label Copy() copies().
2010-08-05 06:31:57 +00:00
v.audacity
60dbfddd06 Get rid of VC++ compiler warning about performance. Was forcing int to bool. 2010-06-30 22:10:51 +00:00
BusinessmanProgrammerSteve
9a048f33b1 don't create new labels for space 2010-05-14 21:15:38 +00:00
BusinessmanProgrammerSteve
23ed04bc6a Improve key/character event handling, esp. for Unicode entry on Windows. 2010-05-11 22:10:44 +00:00
BusinessmanProgrammerSteve
787d033f4c When creating a label by typing, create in the focused track, not the first selected label track. 2010-05-04 19:59:47 +00:00
BusinessmanProgrammerSteve
45ad663e05 Don't write primary selection due to wxWidgets bug 2010-05-02 17:54:22 +00:00
BusinessmanProgrammerSteve
b67178f729 Support for Primary Selection under X11. 2010-05-02 17:22:01 +00:00
BusinessmanProgrammerSteve
b35264aacc Typo in last commit. 2010-05-02 02:44:24 +00:00
BusinessmanProgrammerSteve
bb9b9eeb27 Workaround for bug 30: don't allow create-label-by-typing while playing unless the selection has been changed. 2010-05-02 02:39:46 +00:00
BusinessmanProgrammerSteve
830db47f50 Work-around for bug 154 2010-04-14 18:32:03 +00:00
BusinessmanProgrammerSteve
fc1617ff2f Fix problem with linked label tracks and truncate silence 2010-04-12 15:29:53 +00:00
businessmanprogrammersteve
5a6b7a4ec9 Lighten colors slightly for sync-selection. 2010-02-17 17:54:32 +00:00
businessmanprogrammersteve
e35e019e17 Change lots of code that uses linking to use the new
scheme.
2010-02-16 20:50:38 +00:00
businessmanprogrammersteve
b646b10df2 Adds Track::IsSynchroSelected() and visuals for synchro (group) selection 2010-02-12 16:05:02 +00:00
james.k.crook
781491dfc0 Bugzilla:5 Fixed poor stacking of labels after a reverse effect. 2010-02-07 21:59:17 +00:00
james.k.crook
5f0a075026 Bugzilla#109 more intuitive label movement. Now circle moves label, chevron moves edge whilst retaining boundary moving behaviour when labels abut. 2010-02-07 11:11:35 +00:00
james.k.crook
77b874c5d9 Label dragging enhancements, especial point labels (Bugzilla:109) 2010-01-31 17:26:21 +00:00
ra
e74978ba77 Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches 2010-01-23 19:44:49 +00:00