1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 23:59:41 +02:00

14 Commits

Author SHA1 Message Date
LRN1986
6151d3d4e2 ExtImport: don't let user select multiple rules at once
While selection with Shift+Up/Down is still possible, it
will only last until Shift is released.
2010-04-24 12:29:14 +00:00
LRN1986
b2b82d4ea0 ExtImport: Moved PluginList initialization before RuleTable initialization 2010-04-24 10:17:35 +00:00
LRN1986
1d83aeeb12 Further ExtImport improvements and fixes
* Implemented drag'n'drop reordering for Plugin list.
 Now single wxDropTarget subclass is used for both RuleTable
  and PluginList.
 Now ExtImportPrefsDropTarget interfacing with PrefsPanel is
  a bit more object-oriented (no direct access to properties)
 Now row swapping in PluginList is made by separate function
  (the code is a bit less ugly)
* Fixed PluginList reordering by a button (broken by previous
   commit)
 Made a special FakeOnPluginKeyDown() function for that, also
  added some conditions into handler itself to emulate list
  navigation.
* Fixed PluginList initialization in PopulateOrExchange
* Fixed RuleTable drag'n'drop reordering to work with single click
 Now it is possible to click-and-drag previously unselected item
  to reorder it, no need to select it beforehand
2010-04-23 22:28:43 +00:00
LRN1986
a36aeba850 Extended import filtering fixes
* Fix PluginList item selection movement (Linux)
 Removed some unneeded code that b0rked item selection
 in PluginList on Linux.
* Fix RuleTable multi-item drag selection.
 Used undocumented EnableDragCell() method for that,
 but now it is not possible to select multiple items
 by dragging. It is still necessary to select an item
 before you can drag it (because click-event occurs
 after selection is changed and you can not select
 an item without moving it otherwise).
* Fix indentation
 Converted tabs to 3-spaces.
 Wrapped everything at 80th column.
2010-04-23 17:55:27 +00:00
BusinessmanProgrammerSteve
b3d6457ef5 Compile warning. There's another one in here about an uninit'd variable I'm ignoring... for now... 2010-04-12 15:04:30 +00:00
LRN1986
e4701d1d10 Shorten EIF prefs button labels 2010-04-11 14:34:32 +00:00
LRN1986
a61f711f88 Fix ExtImportFilter rule editor space trimming.
* Won't ask more than once
* Actually trims both leading and trailing spaces
2010-04-10 16:24:04 +00:00
LRN1986
b6972df871 Second big batch of Extended Import Filtering improvements
* /ExtendedImport/OverrideExtendedImportByOpenFileDialogChoice preference enables the override (backward-compatibel behaviour), and it is now false by default
* File names (and mime types) and patterns are Lower()'ed before being fed to wxMatchWild(), now matching should be case-insensitive
* Now empty rule elements (empty list of extensions, empty list of mime types) will match anything (just as if they had one "*" element)
* "Extended Import" preferences tab is now next to "Import/Export" tab
* Preferences now use Grid class (the one used in Tag editor) instead of default wxGrid. Tabbing now works correctly.
* First attempt to add Drag'n'Drop re-ordering for Rule table. Seems to be working.
* Cleaned up a couple of cruft code comments.
* Separate buttons (with hotkeys) for moving rules and filters up and down (ctrl+up/down still works)
* Moved some code into helper funcions (can be called from both button and keyboard event handlers)
* Grid is now configured in PopulateOrExchange (the same way it is in Tags.cpp)
* Keep selection while moving table rows and list items
* Detect trailing/leading spaces in rule condition and offer to trim them
2010-04-09 19:57:28 +00:00
richardash1981
b566e09e61 Use of wxMessageBox needs this include to compile 2010-04-05 10:39:28 +00:00
LRN1986
efd1ad277a Fix miscommented line. Change column header title 2010-04-04 22:14:40 +00:00
LRN1986
ded848d66e Extended import filter prefs GUI usability improvements
* Select newly added item and switch focus to the table
* Show confirmation dialog when deleting items
* Be smart about keeping cursor and selection position when deleting items
2010-04-04 22:07:57 +00:00
LRN1986
d2c0a72597 Autosize columns for empty table too 2010-04-04 21:43:38 +00:00
BusinessmanProgrammerSteve
918d4c7cdc Fix broken build (on Linux) 2010-04-04 16:17:55 +00:00
LRN1986
0a6148b06f Extended import filtering 2010-04-04 08:19:53 +00:00