1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-27 22:19:24 +02:00

178 Commits

Author SHA1 Message Date
lllucius
03f5088b6a Bug 406 - Label creation/other non-dialogue editing and keyboard selection hang on long projects
This is part 1...

Provides some relief to the selection "hang"

This patch adds the ability for the keyboard based commands (like cursor left,
extend selection right, etc.) to know when the key has been released.

When the patch is applied the current state is saved only when the key is
released and not every time it repeats.

Here's an example of the difference it makes.

This video show the selection "hang", but also watch the CPU usage.  All I'm
doing is pressing SHIFT+RIGHT ARROW.

http://youtu.be/tdMntDwGSkM

This one is the same thing bug with the patch applied.  Notice that the
selection "hang" no longer occurs and look at the CPU usage!

http://youtu.be/EpXNsQ4Cky0
2013-10-23 18:01:14 +00:00
lllucius
8cb1681e47 Fixes crash on Linux that surfaced as a result of r12493. But, this prompted
research into why that code had been ifdef'd in the first place and allowed
the root cause to be identified.

Now the menus are cleaned up properly, which also fixes bug #458 without
having the workaround in r12639.

Basically, the problem was that attempts were being made to manipulate
menuitems on a menu that no longer existed (after the menus were rebuilt).
2013-10-07 08:36:07 +00:00
lllucius
856c51e6a6 Okay, let's try this again. Now there's only a type of external index...none of
this "use aline index here and a node index here" stupidity.
2013-10-02 08:17:16 +00:00
lllucius
b0e65b57c2 Adding EXPERIMENTAL_KEY_VIEW that provides a new keyboard binding view. 2013-10-01 06:00:13 +00:00
james.k.crook@gmail.com
e8ee6393b8 Fix upper bound on plug-ins count. 2013-09-27 20:30:07 +00:00
lllucius
ec8e203676 One possible idea for improving shortcuts list. This is NOT final.
Just want to get opinions.
2013-09-26 08:18:37 +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
james.k.crook@gmail.com
db56cbd363 Simplified Audacity (using ! prefix) now works for effects and analyse items too. 2013-09-22 11:48:29 +00:00
james.k.crook@gmail.com
29ee0f544a Removed recently commented out code. Added a comment. 2013-08-25 22:21:32 +00:00
james.k.crook@gmail.com
dba81b3f1c Cleanup: Fixed lots of trivial MSVC warnings. 2013-08-25 21:51:26 +00:00
james.k.crook@gmail.com
969122a985 Possible fix for Linux ASSERT (debug builds) with lots of duplicate key bindings. Also fixed some unused parameter warnings. 2013-08-25 12:54:24 +00:00
james.k.crook@gmail.com
ccec954f06 Bugfix for Bug 530 - Export and Import of XML file now handle the lists too. 2013-08-20 21:53:18 +00:00
v.audacity
b8128af0c5 Gale suggested showing current key shortcuts for toolbar controls tooltips. This implements it for ControlToolBar (aka Transport toolbar).
One tricky aspect was that until GetActiveProject() is ready to return non-NULL,  ControlToolBar::RegenerateToolsTooltips() cannot get the project's CommandManager, so cannot get the shortcuts. Changed ControlToolBar::RegenerateToolsTooltips() to be public and now call it late in wAudacityProject(). When called before the project is completely instantiated, in the rewritten ControlToolBar::RegenerateToolsTooltips(), it just sets the tooltips to the names without the keys, pretty much as now -- but I don't think users will ever see that because of the subsequent call. 

Anyway, did it in a more programmatic way than the previous code, which reduces string literals duplication.

Btw, I changed the start value for the ID_PLAY_BUTTON because the former value of 0 causes FindWindow() to return the toolbar rather than the button -- wxWidgets bug. 

Also got rid of some cruft and applied a few WXUNUSED.
2013-07-23 22:07:56 +00:00
v.audacity
ebb4f530bb Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values. 2012-08-02 06:03:19 +00:00
james.k.crook@gmail.com
bd670df287 Actually check in the change to fix Bug 517 (intended in r11795). Added comment for code fixing Bug 523. 2012-06-19 13:16:22 +00:00
james.k.crook@gmail.com
4656913708 Fix Bug 523: Names in prefs rather than numbers, so should be immune to renumbering bug. Fix Bug 517: Properly enable feature for Linux and Mac (changes were intended to be windows only, but some slipped through). 2012-06-18 13:19:57 +00:00
v.audacity
08b68fd96a Use American spelling conventions in GUI, per policy and convention. 2012-04-25 22:44:00 +00:00
james.k.crook@gmail.com
5125ee20d3 Removed extra prefix CommandManager:: which is OK in MSVC but not gcc. 2012-03-30 14:55:16 +00:00
james.k.crook@gmail.com
d1afc6e8c5 Hotkeys for effects. (uses numbers for effect names) 2012-03-29 20:31:49 +00:00
v.audacity
7bdac9233b Undo incorrect change made in r10469, to CommandManager::InsertItem(). This may fix a problem in commands, as it restores stripping all accelerator characters and mnemonics from the given text. 2012-02-08 00:40:34 +00:00
james.k.crook@gmail.com
1425847c2f Fixed external linkage (DLL_API) for CommandManager so that menus become visible externally. 2011-04-24 17:03:13 +00:00
lllucius
4ef4adb6eb Fix build when wxWidgets is built to use STL as it is on openSUSE. 2011-04-17 03:42:35 +00:00
v.audacity
93485f5c50 ControlToolBar now appears in GUI as "Transport Toolbar" instead of "Control Toolbar", to better relate it to the Transport menu. 2010-11-16 01:18:39 +00:00
v.audacity
971f039033 parens, not square brackets, for parenthetic phrases 2010-07-28 22:57:21 +00:00
clayton.otey@gmail.com
92f28a0a1d Changed the layout of the TimeScale effect dialog 2010-06-11 01:33:17 +00:00
businessmanprogrammersteve
a55c20be66 Fix most of the compile warnings I get on Linux (but not the Audacity Logo
xpm stuff or a few things in FFMPEG export)
2010-02-12 21:36:20 +00:00
james.k.crook
44596429a7 Corrected version of Ed's patch #18 to localise some strings. 2010-02-10 23:10:53 +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