23 Commits

Author SHA1 Message Date
Paweł Kołodziejski ebbfd826d5 ALL: Upgrade tools licence to GPLv3+ 2022-06-26 19:14:49 +02: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 516ff25a14 TOOLS: Fix extra input page for compression tools
The help string was too long (it included all the compression options
which are irrelevant for this page) and as a result the widgets to select
the input file were outside the window and the input selection could
not be done.
2013-03-01 21:04:24 +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
Thierry Crozat adcdbafc33 TOOLS: Fix input files check when running the tool more than once
Also add a check on the number of inputs. This ensures the user has selected a file for each required input in the GUI.
2011-11-26 12:32:56 +00:00
Thierry Crozat 7314a7557b TOOLS: Improve input file check in the GUI Tools
It now uses the same check that as been recently added when parsing
the input files in the CLI Tools. This is the first part of a fix for tools
expecting multiple inputs, as depending on the first file selected by
the user it could crash the application when trying to run the tool.
2011-11-26 12:06:45 +00: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
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 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
Thierry Crozat 4de804209a Fix tools GUI compilation on some systems.
svn-id: r48607
2010-04-10 19:47:06 +00:00
Thierry Crozat 634f289fe2 Commit patch #2982306: set MP3 ABR bit rate in GUI Tools
svn-id: r48583
2010-04-07 22:34:07 +00:00
Max Horn 0a74bb4ef2 Patch #2981339: Tools GUI: fix use of audio options
svn-id: r48517
2010-04-04 19:09:59 +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
Max Horn 1f610c5cb7 cleanup
svn-id: r46365
2009-12-13 20:31:07 +00:00
Max Horn d5d2504087 TOOLS: Fix building, move around some files, cleanup
* Fix the build system by adding gui/ to the list of module directories,
  so that dependencies for source files in it are tracked correctly
* Fixed compilation of the GUI code
* Move some files from utils/ to common/ to get more in sync with the
  main ScummVM code base

svn-id: r46360
2009-12-13 20:09:16 +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 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 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 dc5453c1c1 *Fixed make under *nix
svn-id: r42678
2009-07-23 12:46:06 +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