1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

259 Commits

Author SHA1 Message Date
windinthew
e1042d4323 Updated software translation from Carmelo Battaglia 2010-07-19 21:27:12 +00:00
mchinen
af27b274d1 Fix missing lock mutex in main OD loop (!)
This will fix the OD bug where some tasks never start on faster computers that caused the race condition.
2010-07-19 13:41:16 +00:00
mchinen
0fac236e9a Fix whitespace and comments in ODComputeSummaryTask and ODManager 2010-07-19 13:25:52 +00:00
windinthew
f918edb36a Updated software translation from Bashishtha Singh (+ added new strings from latest audacity.pot) 2010-07-19 09:44:01 +00:00
v.audacity
ab81197ce6 Move #include <wx/arrimpl.cpp>. Must occur between the WX_DECLARE_OBJARRAY and WX_DEFINE_OBJARRAY. 2010-07-18 00:05:49 +00:00
v.audacity
cd96baaa4c Fix a compiler warning. 2010-07-17 22:31:02 +00:00
v.audacity
ae85f055ac (working on bug 113)
Fixed a formerly unnoticed crash bug. If user selected a subset of the dependency files list, then clicked "Copy Selected Audio Into Project", it removed the selected dependency/dependencies, but then crashed on bad reference trying to delete the non-selected dependency/dependencies. This was due to a consistent misuse of wxHashMap::operator[] to check for the existence of a hash element. If you call it with a key that's not in the hash map, yes it returns NULL, the first time, but it creates an entry for that key. So if you test it again with the same key it returns a bad entry. Replaced it with a correct call to wxHashMap::count(). Leland had fixed one of these, but there were 4 more. 

RemoveDependencies() always returned true, and was never checked, so made it return nothing.

More readability improvements.
2010-07-17 00:33:31 +00:00
v.audacity
003221bb95 (minor change)
No need to check passed-in value of parameter that's used only for return value.
2010-07-17 00:11:57 +00:00
v.audacity
07806e76a1 (working on bug 113)
Update header block. 

Move declarations that aren't used elsewhere, from .h file. No need to expose them there, used only in this file.

Working on first part of bug 113 where moved/deleted file is allowed to be copied into project:

 * Made class AliasedFile know whether its original file exists in specified location.

 * Dependency dialog:
   ** Updated so message states some original files were moved/deleted, and what to do about it.
   ** Missing dependencies shown in red, italic text. 
   ** Missing dependencies cannot be selected for copying into project.
   
 * Fixed bug where deselecting all items did not disable "Copy Selected..." button.

FindDependencies always returns true, so removed return value and its handling.

Sundry readability improvements: var names, {} brackets usage consistency, indenting, clearer names, etc.

Get rid of vim/emacs declarations. Matt said they're unnecessary, ages ago.
2010-07-16 06:01:40 +00:00
v.audacity
1149680032 (working on bug 113)
Update header block. 
Move declarations that aren't used elsewhere, into cpp file. No need to expose them here.
Get rid of vim/emacs declarations. Matt said they're unnecessary, ages ago.
2010-07-16 05:41:22 +00:00
v.audacity
27e59162b4 (minor text corrections) 2010-07-16 05:38:22 +00:00
v.audacity
6f6aae0346 Rename for clarity. It's a bool, not a resultCode. 2010-07-16 05:37:26 +00:00
windinthew
16716a6ef8 Can't use "v" for an access key - conflicts with Preview 2010-07-11 06:56:02 +00:00
mchinen
fb9e6e5f1a Fix autorecover to recover more than just 3 recording tracks
Also fix mac crash due to assertion where envelope len is zero after recovery.
2010-07-09 16:17:45 +00:00
v.audacity
cf3ba227f7 Further work on bug 137. Accidental click OK on prev commit, so here are comments for it and this one:
* Make progress messages not have ellipsis at end, as convention in other cases.

* Reword "Continue without deleting" radio button about orphan files.

* Fix the removal of empty dirs at the end of DirManager::ProjectFSCK() which previously did nothing because it passed a hardcoded zero count for the file list, to what is now RecursivelyRemove(). Added RecursivelyCountSubdirs() so progress dialog has correct maximum (directory count, not blockCount as previously). Added RecursivelyRemoveEmptyDirs().

* Found that Windows SDK functions sometimes do not remove empty directories and added code to help it in some cases.
2010-07-09 03:52:51 +00:00
v.audacity
afe904e0c5 2010-07-09 03:16:40 +00:00
windinthew
9a2112bb8d Added access keys 2010-07-08 19:25:08 +00:00
v.audacity
28141af2d0 Code review and fixes in pursuit of bug 137
(still in progress, per "//vvvvv" comments):

Update credits and copyright.

Fix some grammar and remove obvious comments. 
   (For example, stack vars are always destroyed when 
      "out of context" (i.e, scope, when stack popped), 
      so no need to comment on it).

Remove wxWidgets error squelching.

"rm_dash_rf*" static functions
   Rename all the "rm_dash_rf*" static functions to better 
      reflect what they actually do (per "finally 
      misnomer" comment). Not very mnemonic to 
      name functions on *nix-specific shell command 
      "rm- rf" that they do not emulate. Only 1 of the 4 
      so-named actually removed anything.
   Remove one unnecessary function (originally 
      "rm_dash_rf_enumerate"), replaced by 
      parameter defaults on main recursive function
      (originally rm_dash_rf_enumerate_i").
   Remove unused parameter "prompt" from 
      rm_dash_rf_enumerate_i (now RecursivelyEnumerate). 
   The files_p and dirs_p ints were actually used only 
      as bools, so make them bools bFiles and bDirs.
   Rename "prompt" vars to match ProgressDialog 
      "message" arg. They do not prompt user to do 
       anything, they're informational.
   files_p and dirs_p were int but used only as bools, 
       so make them bool for better readability.
2010-07-07 04:56:53 +00:00
v.audacity
7501b9a865 minor changes on brief code review 2010-07-06 21:39:08 +00:00
james.k.crook
0c3fbd91ac Can now tab to radio button. 2010-07-05 19:57:18 +00:00
mchinen
5a5957b422 Add seek support to OD-based FFmpeg import.
Also some minor refactoring.
This feature works with mp3 right now - may work on other formats, but that will be a seperate commit.
It is not enabled so most of the changes won't even be compiled, and those that do won't be run.
To enable it uncommment the EXPERIMENTAL_ODFFMPEG def in Experimental.h
2010-07-05 14:38:47 +00:00
james.k.crook
4d244e93ae Noise removal updates from Marco Diego Aurélio 2010-07-04 11:34:51 +00:00
BusinessmanProgrammerSteve
fc0dadf93c Apply Debian patch fixing a Portmixer-related crash (bug 174) 2010-07-02 06:27:45 +00:00
BusinessmanProgrammerSteve
df4e7d2bf5 Fix GCC warning and crash on EQ screen. 2010-07-02 05:33:50 +00:00
v.audacity
3f133811fb Get rid of AutoSaveEnabled pref altogether. AutoSave doesn't copy any audio data, so there's no reason to turn it off. 2010-07-01 21:40:29 +00:00
windinthew
d0f67d3e6b * Update for wxwidgets 2.8.11
* Add note that "help" project requires Python
* Add missing section about optional "locale" project
2010-07-01 09:48:35 +00:00
windinthew
119451498b Don't build "help" project by default in Unicode Release or Release to match with win/compile.txt 2010-07-01 09:46:27 +00:00
martynshaw99
992a1ab277 Hopefully read .xml and .XML files on case-sensitive OSs,
Remove 'delete' key functionality.
2010-06-30 23:58:56 +00:00
v.audacity
b85ca7057d Remove call to OnZoomFit after recovery, so that zoom and selection are restored as well. I think when AutoRecovery was written, zoom and selection were not stored in the aup files, so this was a default. 2010-06-30 23:22:23 +00:00
v.audacity
406594a1dc Get rid of AutoSaveMinutes pref, as it wasn't actually used correctly.
Now doing autosave on every PushState, ModifyState, and PopState.
2010-06-30 23:19:21 +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
richardash1981
058e2a7b3b Updated translation from Thomas 2010-06-29 20:42:07 +00:00
richardash1981
2362728838 No, you should never have _("") in code, because you can't translate an empty
string (and anyway it has special meanings in gettext)
2010-06-29 20:41:14 +00:00
martynshaw99
e982fdb716 Add another SetName for the rename dialog. Maybe it'll help screen readers? 2010-06-27 22:28:04 +00:00
martynshaw99
31abee22b5 Add a suffix to duplicate names.
Remove double-click to rename, for keyboard users.
Added 'Names' to controls in the hope that screen readers will be helped.
Resizing works better.
Various tidy-up, inc. adding a few comments!
2010-06-27 22:20:58 +00:00
windinthew
f72a38c3f1 Replace "version in Audacity CVS" with "version in Audacity SVN". "Crib notes on upgrading lib-src trees" still needs updating for SVN 2010-06-21 18:48:02 +00:00
windinthew
e192648cdf Updated software translation from Carmelo Battaglia 2010-06-21 18:18:15 +00:00
windinthew
336a4b4f0d * Added access keys for main EQ window
* Fixed a typo in "Manage Curves" help text and tweaked it a bit (uses "Save" word as per "Save/Manage curves..." button)
2010-06-18 20:39:32 +00:00
prlivesey
aadc759fe2 Moved 'class EditCurvesDialog:public wxDialog' outside of the '#if wxUSE_ACCESSIBILITY' conditional to allow compilation when wxUSE_ACCESSIBILITY is undefined. 2010-06-16 11:03:58 +00:00
martynshaw99
da5c299292 New EQCurves management dialog. 2010-06-15 23:49:51 +00:00
mchinen
ff7c013f16 fix clipping on export 24 bit signed pcm wav (bug 166) 2010-06-15 17:51:23 +00:00
martynshaw99
dcb3dc656a Missing header. 2010-06-14 23:05:36 +00:00
windinthew
21eb328c01 Fix overflow in dd:hh:mm:ss selection format 2010-06-14 15:40:04 +00:00
mchinen
f443ce50bd fixing sort by time case where linked tracks only sort by topmost track. Now sort looks at each member of the group and takes the minimum 2010-06-14 12:57:33 +00:00
BusinessmanProgrammerSteve
78ccfa399f Nick Trimble's patch fixing bug 124 (no OK button in Audio Device Info);
also causes OK button to display correctly in another, similar dialog after
Export Multiple.
2010-06-12 20:39:23 +00:00
prlivesey
7d1837859e Removed obsolete reference to pitch.cpp in sbsms. 2010-06-12 11:26:49 +00:00
clayton.otey@gmail.com
bf8d375d42 Reverting an accidentally commited change to workaround a compile error. 2010-06-11 21:08:44 +00:00
clayton.otey@gmail.com
317ed4bf17 sbsms Transient Sharpening shouldn't crash anymore, but it's not thoroughly tested yet. 2010-06-11 01:34:52 +00:00
clayton.otey@gmail.com
92f28a0a1d Changed the layout of the TimeScale effect dialog 2010-06-11 01:33:17 +00:00
clayton.otey@gmail.com
e92ecd240b Got rid of remaining sbsms windows warnings, except for fopen_s 2010-06-08 01:13:11 +00:00