audacia/src
Sven Giermann ce09f4b883 Make RuleTable scrollable & DnD move instead of copy
Having lots of rules in RuleTable may lead to an assertion failure on opening preferences dialog:

> assert "sz.x <= 1000 && sz.y <= 750" failed in
> PrefsDialog::PrefsDialog(): Preferences dialog exceeds max size

This change will make the RuleTable scrollable (as it is/was when creating many rules) instead of expanding the dialog size.
Further I had to fix the calculation of the clicked row from the given coords. Even without this proposed change for scrolling, the calculated row has always been the one above the clicked row - maybe this changed in wxWidgets 3.0.
Now it uses CalcUnscrolledPosition() which seems to work fine even without scrolling.

Last change is for drag and drop mode: rules are not being copied, but moved on dnd - I changed this to reflect this mode on the cursor while dragging an item.
2016-09-12 17:09:42 +01:00
..
blockfile ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
commands ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
effects correct mistake in Paulstretch 2016-09-12 07:51:58 -04:00
export ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
import pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
ondemand Make many counts of tracks and channels unsigned... 2016-09-07 10:11:41 -04:00
prefs Make RuleTable scrollable & DnD move instead of copy 2016-09-12 17:09:42 +01:00
toolbars More unused parameters and local variables. 2016-09-12 12:33:44 +01:00
tracks/ui ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
widgets More unused parameters and local variables. 2016-09-12 12:33:44 +01:00
xml Fix mac build. No standard headers in Audacity.h. 2016-03-01 12:22:37 -05:00
AboutDialog.cpp Use agreed www. version of our address 2016-09-11 17:31:25 +01:00
AboutDialog.h Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
AColor.cpp Make Audacity source more like DarkAudacity source. 2016-09-11 13:03:37 +01:00
AColor.h Make Audacity source more like DarkAudacity source. 2016-09-11 13:03:37 +01:00
AllThemeResources.h Change ScrubBar to ScrubRuler 2016-08-22 12:25:36 +01:00
audacity.desktop.in Update Catalan translation 2016-08-25 14:09:58 +02:00
Audacity.h Make Audacity source more like DarkAudacity source. 2016-09-11 13:03:37 +01:00
audacity.xml
AudacityApp.cpp ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
AudacityApp.h Bug 1487 - Scrub and Seek are enabled when there is no audio to operate on 2016-08-22 13:25:05 +01:00
AudacityHeaders.cpp
AudacityHeaders.h Rewrite Resample::Process to take and return size_t values 2016-09-06 12:39:58 -04:00
AudacityLogger.cpp Make Audacity source more like DarkAudacity source. 2016-09-11 13:03:37 +01:00
AudacityLogger.h Remove a naked new in AudacityLogger.cpp 2016-08-13 10:37:52 -04:00
AudioIO.cpp More unused parameters and local variables. 2016-09-12 12:33:44 +01:00
AudioIO.h Make many counts of tracks and channels unsigned... 2016-09-07 10:11:41 -04:00
AudioIOListener.h Show Actual Rate in status only if playing, recording, or monitoring 2016-05-22 10:44:18 -04:00
AutoRecovery.cpp Use type alias for pointer to BlockFile, which is still a dumb pointer 2016-08-16 12:29:59 -04:00
AutoRecovery.h Replace virtual with override wherever possible; eliminate needless virtual... 2016-02-26 12:35:38 -05:00
BatchCommandDialog.cpp Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
BatchCommandDialog.h Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
BatchCommands.cpp Make many counts of tracks and channels unsigned... 2016-09-07 10:11:41 -04:00
BatchCommands.h Harmlessly qualify classes as final (or explicitly comment not)... 2016-02-24 20:58:30 -05:00
BatchProcessDialog.cpp Various uses of make_unique 2016-08-10 11:05:52 -04:00
BatchProcessDialog.h Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
Benchmark.cpp Undo a global effect with RAII 2016-09-06 12:39:57 -04:00
Benchmark.h
BlockFile.cpp Merge remote-tracking branch 'walisser/upstream' 2016-09-12 12:22:36 +01:00
BlockFile.h BlockFile::GetSpaceUsage() returns an unsigned value 2016-09-06 12:39:57 -04:00
configtemplate.h
CrossFade.cpp Rewrite Resample::Process to take and return size_t values 2016-09-06 12:39:58 -04:00
CrossFade.h Rewrite Resample::Process to take and return size_t values 2016-09-06 12:39:58 -04:00
Dependencies.cpp More unused parameters and local variables. 2016-09-12 12:33:44 +01:00
Dependencies.h Redo AliasedFile using wxFileNameWrapper. 2016-04-17 03:31:16 -04:00
DeviceChange.cpp Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
DeviceChange.h Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
DeviceManager.cpp Remove the naked new in allocation of AudacityProject 2016-08-14 15:24:59 -04:00
DeviceManager.h Make static "Destroy" methods for certain singletons unnecessary. 2016-04-06 16:24:46 -04:00
Diags.cpp ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
Diags.h
DirManager.cpp Bug1482: fix hangs caused by 8b72bd2f92 2016-08-17 16:49:55 -04:00
DirManager.h A safenew and comment changes 2016-08-16 13:00:07 -04:00
Dither.cpp "new"->"NEW" in comments, easier to find remaining naked operator new 2016-02-14 18:52:41 -05:00
Dither.h
Envelope.cpp More const qualifications, and mutables, for functions that draw tracks... 2016-02-27 12:35:17 -05:00
Envelope.h Envelope bug 2016-08-12 20:53:38 -04:00
Experimental.h Revert unintended changes in Experimental.h, sorry 2016-08-23 14:27:35 -04:00
FFmpeg.cpp Remove some naked new amd delete in: FFmpeg 2016-08-08 07:51:24 -04:00
FFmpeg.h FFmpeg: add missing "const" to 3 prototypes 2016-09-07 06:26:05 -04:00
FFT.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
FFT.h pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
FileFormats.cpp build fix 2016-04-17 15:04:53 -04:00
FileFormats.h build fix 2016-04-17 15:02:28 -04:00
FileIO.cpp Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
FileIO.h Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
FileNames.cpp
FileNames.h
float_cast.h
FreqWindow.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
FreqWindow.h pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
HelpText.cpp Fix line continuation on Linux. 2016-09-11 13:47:53 +01:00
HelpText.h
HistoryWindow.cpp Various uses of make_unique 2016-08-10 11:05:52 -04:00
HistoryWindow.h Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
ImageManipulation.cpp travis 2016-04-09 22:55:15 -04:00
ImageManipulation.h Image manipulation functions return smart pointers 2016-04-06 16:06:34 -04:00
Internat.cpp Bug119: Export Multiple /, *, ? handled incorrectly 2016-06-20 22:32:23 -04:00
Internat.h Bug119: Export Multiple /, *, ? handled incorrectly 2016-06-20 22:32:23 -04:00
InterpolateAudio.cpp
InterpolateAudio.h
LabelDialog.cpp ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
LabelDialog.h Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
LabelTrack.cpp More unused parameters. 2016-09-11 20:52:04 +01:00
LabelTrack.h Dir manager uses std::shared_ptr 2016-08-13 12:23:05 -04:00
LangChoice.cpp Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
LangChoice.h
Languages.cpp "new"->"NEW" in comments, easier to find remaining naked operator new 2016-02-14 18:52:41 -05:00
Languages.h
Legacy.cpp Write and read the wide aliasStart fields carefully... 2016-08-21 09:18:06 -04:00
Legacy.h Sweep for filename copying: various 2016-04-10 22:26:28 -04:00
LoadModules.cpp
LoadModules.h
Lyrics.cpp Don't cause assertion violations when showing Lyrics window 2016-06-27 21:25:03 -04:00
Lyrics.h Don't cause assertion violations when showing Lyrics window 2016-06-27 21:25:03 -04:00
LyricsWindow.cpp Stack-allocate where possible! ... 2016-02-17 18:15:57 -05:00
LyricsWindow.h Harmlessly qualify classes as final (or explicitly comment not)... 2016-02-24 20:58:30 -05:00
MacroMagic.h
Makefile.am Make headers in import directory self-contained 2016-08-11 11:51:33 -04:00
Makefile.in Remove Leveller effect from Linux build 2016-07-01 16:49:49 +01:00
Matrix.cpp
Matrix.h
MemoryX.h A safenew and comment changes 2016-08-16 13:00:07 -04:00
Menus.cpp ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
Menus.h Implmement option+command+M on Mac to minimize all projects 2016-06-29 14:24:51 -04:00
MenusMac.cpp Remove the naked new in allocation of AudacityProject 2016-08-14 15:24:59 -04:00
Mix.cpp Make many counts of tracks and channels unsigned... 2016-09-07 10:11:41 -04:00
Mix.h Make many counts of tracks and channels unsigned... 2016-09-07 10:11:41 -04:00
MixerBoard.cpp Remove many mentions of sampleCount with auto and decltype... 2016-08-24 14:50:45 -04:00
MixerBoard.h Remove some naked new amd delete in: Mixer Board 2016-08-08 07:51:24 -04:00
ModuleManager.cpp Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
ModuleManager.h Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
NoteTrack.cpp Dir manager uses std::shared_ptr 2016-08-13 12:23:05 -04:00
NoteTrack.h Dir manager uses std::shared_ptr 2016-08-13 12:23:05 -04:00
NumberScale.h Bug1169: end the separate treatment of lin vs. log display bounds for spectrum... 2015-09-06 21:47:14 -04:00
PitchName.cpp
PitchName.h
PlatformCompatibility.cpp Sweep for filename copying: various 2016-04-10 22:26:28 -04:00
PlatformCompatibility.h Sweep for filename copying: various 2016-04-10 22:26:28 -04:00
PluginManager.cpp Remove overloads for sampleCount from ConfigInterface... 2016-08-21 09:11:44 -04:00
PluginManager.h Remove overloads for sampleCount from ConfigInterface... 2016-08-21 09:11:44 -04:00
Prefs.cpp Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
Prefs.h
Printing.cpp Fix memory leak in global print settings 2016-08-10 11:05:52 -04:00
Printing.h Sweep unnecessary wxString copies: rest 2016-02-23 02:15:56 -05:00
Profiler.cpp Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
Profiler.h Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
Project.cpp ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
Project.h Bug 322 - (Residual) Project numbers renumbered after closing a project. 2016-09-10 16:59:23 +01:00
RealFFTf.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
RealFFTf.h pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
RealFFTf48x.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
RealFFTf48x.h
Resample.cpp Rewrite Resample::Process to take and return size_t values 2016-09-06 12:39:58 -04:00
Resample.h Rewrite Resample::Process to take and return size_t values 2016-09-06 12:39:58 -04:00
RevisionIdent.h
RingBuffer.cpp Rewrite RingBuffer methods with size_t arguments and returns 2016-09-06 12:39:58 -04:00
RingBuffer.h Rewrite RingBuffer methods with size_t arguments and returns 2016-09-06 12:39:58 -04:00
SampleFormat.cpp ClearSamples takes size_t arguments 2016-09-06 20:46:26 -04:00
SampleFormat.h ClearSamples takes size_t arguments 2016-09-06 20:46:26 -04:00
Screenshot.cpp Some uses of Destroy_ptr let us remove some naked news 2016-08-10 11:05:51 -04:00
Screenshot.h
SelectedRegion.cpp Add (redundant) #include "Experimental.h" in all .cpp files using the symbols 2015-08-31 17:56:10 -04:00
SelectedRegion.h Improve responsiveness of drag seek during click-scrub... 2016-05-23 18:37:42 -04:00
Sequence.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
Sequence.h pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
Shuttle.cpp
Shuttle.h Replace virtual with override wherever possible; eliminate needless virtual... 2016-02-26 12:35:38 -05:00
ShuttleGui.cpp Fix for bug 1480 2016-08-17 10:35:40 +01:00
ShuttleGui.h Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
ShuttlePrefs.cpp Remove flushing of preferences in ShuttlePrefs and only 2015-12-21 20:07:24 -06:00
ShuttlePrefs.h Replace virtual with override wherever possible; eliminate needless virtual... 2016-02-26 12:35:38 -05:00
Snap.cpp More unused parameters and local variables. 2016-09-12 12:33:44 +01:00
Snap.h Fix Windows build 2016-08-13 13:18:34 +01:00
SoundActivatedRecord.cpp Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
SoundActivatedRecord.h Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
Spectrum.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
Spectrum.h pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
SplashDialog.cpp Review uses of safenew... 2016-08-13 23:16:05 -04:00
SplashDialog.h Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
SseMathFuncs.cpp
SseMathFuncs.h
Tags.cpp Define and use IteratorRange 2016-08-13 16:31:31 -04:00
Tags.h ThomasFeher - Unused parameters clean up. 2016-09-11 20:31:49 +01:00
Theme.cpp Make Audacity source more like DarkAudacity source. 2016-09-11 13:03:37 +01:00
Theme.h Make Audacity source more like DarkAudacity source. 2016-09-11 13:03:37 +01:00
ThemeAsCeeCode.h Make Audacity source more like DarkAudacity source. 2016-09-11 13:03:37 +01:00
TimeDialog.cpp Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
TimeDialog.h Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
TimerRecordDialog.cpp Review uses of safenew... 2016-08-13 23:16:05 -04:00
TimerRecordDialog.h Fix TAB key navigation on Mac for all dialogs (not only for panels) 2016-07-10 17:12:27 -04:00
TimeTrack.cpp Rewrite Resample::Process to take and return size_t values 2016-09-06 12:39:58 -04:00
TimeTrack.h Dir manager uses std::shared_ptr 2016-08-13 12:23:05 -04:00
Track.cpp Make many counts of tracks and channels unsigned... 2016-09-07 10:11:41 -04:00
Track.h Make many counts of tracks and channels unsigned... 2016-09-07 10:11:41 -04:00
TrackArtist.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
TrackArtist.h Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
TrackPanel.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
TrackPanel.h RaphaelMarinier - Initialise mFreqSelTrack (found by Valgrind) 2016-09-11 22:00:01 +01:00
TrackPanelAx.cpp BHug1488: Don't crash exiting from command-line benchmark test... 2016-08-20 13:58:56 -04:00
TrackPanelAx.h Replace virtual with override wherever possible; eliminate needless virtual... 2016-02-26 12:35:38 -05:00
TrackPanelCell.h new -> NEW in comments, so text search for naked new excludes them 2016-08-08 10:07:37 -04:00
TrackPanelCellIterator.h Define TrackPanelOverlay, use it to reimplement play indicator and cursor... 2016-04-18 14:31:36 -04:00
TrackPanelListener.h Control scrub with motion, click, drag, wheel almost anywhere in main window... 2016-04-26 12:12:06 -04:00
TranslatableStringArray.h Harmlessly qualify classes as final (or explicitly comment not)... 2016-02-24 20:58:30 -05:00
UndoManager.cpp fix mac build! 2016-09-06 16:41:33 -04:00
UndoManager.h BlockFile::GetSpaceUsage() returns an unsigned value 2016-09-06 12:39:57 -04:00
ViewInfo.cpp Fix Travis build. 2016-09-10 22:05:58 +01:00
ViewInfo.h Define TrackPanelOverlay, use it to reimplement play indicator and cursor... 2016-04-18 14:31:36 -04:00
VoiceKey.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
VoiceKey.h
WaveClip.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
WaveClip.h pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
WaveTrack.cpp pixel column counts and sample window sizes use unsigned types 2016-09-11 20:28:13 -04:00
WaveTrack.h Rewrite WaveTrack::GetEnvelopeValues, taking one less argument... 2016-08-21 09:45:53 -04:00
WaveTrackLocation.h Use std::vector for wave track locations 2016-02-27 12:08:03 -05:00
WrappedType.cpp
WrappedType.h
wxFileNameWrapper.h Define a wxFileNameWrapper that does not crash GCC 5.0. Thanks, Max Kellermann. 2016-04-28 13:17:07 -04:00