79 Commits
Author SHA1 Message Date
Paweł Kołodziejski ebbfd826d5 ALL: Upgrade tools licence to GPLv3+ 2022-06-26 19:14:49 +02:00
Adrian Frühwirth e3aa8d9633 JANITORIAL: Fix typos 2018-04-28 23:49:32 +02:00
Alexandre Detiste 50102a8b17 TOOLS: Fix typos 2016-02-12 21:33:48 +01:00
Thierry Crozat ae75cf99f6 TOOLS: Add GUI option to run a tool on all the files with the same extension
By default the option is ignored. It needs to be enabled on a per tool basis.
2014-04-20 23:43:00 +01:00
Thierry Crozat d5c8077933 JANITORIAL: Move copyright notice to a separate file 2014-01-19 18:13:09 +00:00
Thierry Crozat fe2d3c2d71 JANITORIAL: Remove now useless SVN tags 2014-01-06 22:54:34 +00:00
Thierry Crozat 9e3a0ccb46 TOOLS: Fix use of wxT macro
This fixes compilation with solaris CC compiler.
Patch provided by Laurent Blume (see bug #3614504).
2013-06-29 19:11:41 -06:00
Thierry Crozat ca6e34dfd1 TOOLS: Fix 'next' button in extra inputs page when there is only one input 2011-11-26 22:21:59 +00:00
Thierry Crozat 2b398567eb TOOLS: GUI: Go directly to extra input page after tool selection
For tools expecting multiple inputs, after selecting the tool the user
had first to go to the normal input page to select one input and then
to the extra input page to select the other inputs. Now he gets directly
to the extra input page where he can select all the inputs.

The other input page is still used when the user decide to select a file
rather than a tool, the tool is then guessed from the file and the user
gets to the extra inputs page if the tools require other inputs (as before).
2011-11-26 18:59:27 +00:00
Thierry Crozat 804c334960 TOOLS: GUI: Fix inactive previous button on two of the pages 2011-11-26 18:42:58 +00:00
Thierry Crozat de927fdffc TOOLS: Fix extra inputs page in GUI
It now matches the inputs already given with the expected inputs from
the tool to know which ones are missing. Also it now shows a picker
for all the inputs even those for which we already have an input file
(but they are initialized with the path we have). This prepares the next
commit.
2011-11-26 18:41:37 +00:00
Thierry Crozat a7b918e4b4 TOOLS: Improve tools detection from input file in GUI
The tools that expected a directory were never detected because the
user could only select a file and not a directory. Now he still needs
to select a file but the directory that contains it is also checked and
the file name is stripped if needed to run the tool.

An alternative would have been to let the user select a directory, but
that would have meant the user needed to know if the tool expect a file
or a directory as input. Also because there is no wxPicker to select either
a file or a directory this would have needed additional radio buttons to
show either a file picker or a directory picker. All in all always asking for
a file here seemed more user friendly.
2011-11-26 14:21:27 +00:00
Max Horn 22f179342b TOOLS: Add two FIXMEs 2011-04-08 11:24:36 +02:00
Thierry Crozat 79ebea97c5 TOOLS: Improve GUI for Ogg encoding options
This makes it possible to encode using a target quality instead of
target bitrate and also makes min and max bitrates optionals.
This fixes bug #3092367.
2011-04-06 18:23:21 +01:00
Ori Avtalion f0867ee807 TOOLS: Escape ampersand to have it display correctly
svn-id: r52519
2010-09-04 10:49:54 +00:00
Johannes Schickel e6a090d6f7 Strip trailing whitespaces.
svn-id: r51095
2010-07-21 18:24:07 +00:00
Thierry Crozat 38c17b4c76 Change the way the flags are interpreted for MP3 compression. The main impact is that now minimum and maximum bitrates are undefined by default and not passed to lame if they are not defined explicitly. They can also be used for both ABR and VBR now.
Also improved the GUI tools MP3 option page. When switching between ABR and VBR only the relevant options remain visible. The page has not been changed to allow use of minimum and maximum bitrates for ABR though (and they are still always used for VBR). So the user does not have as much flexibility with MP3 options when using the GUI tools than he has with the CLI version.

svn-id: r48974
2010-05-08 22:42:29 +00:00
Thierry Crozat 95e91f2d32 Rename 'Default Settings' button into 'Settings'. This fixes an issue on some platforms where there was not enough place for the Cancel button and it was therefore partially outside the window (it depended on the default font used for the button text).
Also in the last page the inactive buttons are now hidden instead of being disabled.

svn-id: r48946
2010-05-04 21:01:29 +00:00
Thierry Crozat 03e86996d4 Improve the way we go back to the first page (instead of creating a new first page it now goes back to the one stored in the old pages - it also now destroys all the other old pages).
svn-id: r48922
2010-05-03 18:51:06 +00:00
Thierry Crozat 72d4d9d7a0 Implement several enhancements in the tools GUI:
1) On the last page, add the possibility to restart the wizard instead of closing the application.
2) In the process page, when the tool has finished running the "processing data..." text is now erased. Also green success message or red error message is now printed below the process output.
3) The Cancel button is now disabled in the last page (since there is nothing to cancel).

svn-id: r48917
2010-05-03 16:56:16 +00:00
Thierry Crozat 2bf2e1160b Slightly improve the tools description in the GUI by wrapping the text if needed by default.
svn-id: r48890
2010-05-02 12:25:12 +00:00
Thierry Crozat f5d77800e5 Reimplement from scratch the layout of the first page of the GUI Tools. Hopefully it should fix the un-centered and cut-off labels issues.
svn-id: r48624
2010-04-11 17:51:06 +00:00
Thierry Crozat 945102910f Change CLI flag for lame path to --lame-path.
svn-id: r48612
2010-04-10 21:42:42 +00:00
Thierry Crozat d25c6505ee Fix bug #2905473: GUI Tools: cannot use lame
A lame path option has been added when using MP3 compression. For CLI it can be set using -lame-path. In the GUI it can be set in the advanced MP3 options page. There is also a check on lame in the GUI tools now.

svn-id: r48610
2010-04-10 20:37:06 +00:00
Jordi Vilalta Prat eae07f9e8a TOOLS: Whitespace cleanup
svn-id: r46751
2009-12-30 15:34:00 +00:00
Max Horn a003aa6309 TOOLS: Move class File into namespace Common
svn-id: r46452
2009-12-20 23:02:50 +00:00
Eugene Sandulenko 6a74e8a5a8 Fix svn keywords
svn-id: r46433
2009-12-20 14:52:29 +00:00
Joost Peters c57aace45b Dremcast -> Dreamcast
svn-id: r46217
2009-11-30 09:58:49 +00:00
Max Horn 0cbbd538e7 Fix whitespaces / code formatting
svn-id: r44360
2009-09-25 16:47:41 +00:00
Joost Peters 5135733c49 fix typo
svn-id: r43758
2009-08-26 15:46:48 +00:00
Hampus Nilsson 1b23b0973a *UI tweaks for Linux (Ubuntu).
svn-id: r43708
2009-08-24 21:34:42 +00:00
Hampus Nilsson b0932b2050 *Configuration now saves, and defaults are set, does not affect the current configuration yet, however.
*Multiple layout fixes.

svn-id: r43681
2009-08-24 03:41:32 +00:00
Hampus Nilsson 13d1f563ca *Added an advanced (defaults) settings window, note that the settings specified don't actually save yet.
svn-id: r43660
2009-08-22 18:44:35 +00:00
Hampus Nilsson a916526824 *Fixed bug with Previous displaying on the first page sometimes.
*Changed static box to invisible box, looks better (static boxes are evil).

svn-id: r43455
2009-08-17 00:47:37 +00:00
Hampus Nilsson 5ebf8237fe *First page displays real buttons instead of radio buttons now.
svn-id: r43360
2009-08-14 01:57:53 +00:00
Hampus Nilsson e247626a12 *Fixed compiler warning.
svn-id: r43244
2009-08-11 00:34:32 +00:00
Hampus Nilsson d06531a92f *Added menu bar, only visible on OSX.
*Added a Help button, that displays a short help message about the current page (could be improved).
*Fixed a bug with buttons not refreshing properly.
*Other small GUI tweaks.

svn-id: r43243
2009-08-11 00:28:39 +00:00
Hampus Nilsson 0dc05a1569 *Fixed bug with line label displaying tool name on the first pages.
*Changed default audio format to mp3 for nds / dreamcast platforms.
*Added shorthelps to some tools that missed them previously.
*Other fixes.

svn-id: r43135
2009-08-08 19:44:29 +00:00
Hampus Nilsson 775ef4476e *Compression is now the default choice (instead of extraction)
*Fixed issue in compress_agos which would make it crash if you selected an invalid input file.

svn-id: r43092
2009-08-07 06:43:12 +00:00
Hampus Nilsson 074ce8134b *Cleaned up code, removed the duplicated File class, removed old, unused functions and added doxygen.
svn-id: r43079
2009-08-06 02:05:53 +00:00
Hampus Nilsson e43ee787d8 *Improved input recognition with information from the mailing list.
*A tool can now either match input perfectly, possibly or awful. So less options are displayed to the user (meaning the ChooseTool page can now be skipped most of the time).
*Improved layout.
*The Line Label at the bottom now show the name of the tool that's 'running'.

svn-id: r43031
2009-08-03 19:14:30 +00:00
Hampus Nilsson ab020926ea *You can now pass a filename as a CLI argument and the tool will use it as the input (and skip the first two pages).
svn-id: r42969
2009-08-01 00:02:00 +00:00
Hampus Nilsson b97789f847 *Output directory is now saved, so you don't have to enter it every time.
*Better formatting for the input fields (they now cover 2/3 of the window width).

svn-id: r42968
2009-07-31 23:44:51 +00:00
Hampus Nilsson 08f35ad475 *Added a platform page, were you can select the target platform (which influences default audio settings, although this is minimal right now).
svn-id: r42928
2009-07-30 14:45:04 +00:00
Hampus Nilsson b35df38e84 *Added short help text to the GUI, displayed next to name of the tool in the CLI, and on the 'select tool' page in the GUI.
svn-id: r42831
2009-07-27 03:01:06 +00:00
Hampus Nilsson 1669ab6cff *Fixed faulty comments
*GUI now only displays supported audio formats as options (for tools that don't support all).

svn-id: r42703
2009-07-24 20:45:42 +00:00
Hampus Nilsson 727d1aa533 *Moved more functionality from ToolGUI to Tool
*ToolsGUI now inherits Tools, so you only need to list all supported tools in one place.

svn-id: r42687
2009-07-24 07:53:05 +00:00
Hampus Nilsson 168e91e076 *Started on CLI interface, already works but there are many edges to sort out.
*Added a common 'Tools' class to be used by both the CLI and the GUI, right now it's NOT in use by the GUI, so there is some code clutter.
*Rename gui/tools.h to gui/tools.cpp
*Tools now know their own type.
*Some other small changes.

svn-id: r42670
2009-07-23 01:41:14 +00:00
Hampus Nilsson 0cfce6f09f *Fixed bug with the tools not outputting to the correct directory.
*Choose Tool page is now skipped if there is only one possible choice.

svn-id: r42631
2009-07-20 18:04:44 +00:00
Hampus Nilsson 6af581fcc7 *Extensions are now case-insensitive for matching.
*Fixed bug with wizard always ending on the 'fail page'.
*Added ExtractScummMac

svn-id: r42629
2009-07-20 17:39:39 +00:00