61 Commits
Author SHA1 Message Date
Le Philousophe 9154304e06 ALL: Update copyright year to 2025 2025-06-09 19:59:29 +02:00
Scott TalbertandEugene Sandulenko 266e164e7c BUILD: Fix compatibility with wxWidgets 3.2
In wxWidgets 3.2, there are added assertions which occur when
meaningless sizer flags are used.  This removes such sizer flags to
avoid the assertions.
2022-10-24 21:21:25 +02:00
Paweł Kołodziejski ebbfd826d5 ALL: Upgrade tools licence to GPLv3+ 2022-06-26 19:14:49 +02:00
Cameron Cawley b3e43f6588 JANITORIAL: Update scummvm.org URLs 2022-06-20 23:58:56 +01:00
Eugene Sandulenko 092aed6fc6 ALL: Bump copyright year to 2020 2020-01-01 00:01:34 +01:00
Thierry Crozat c21b181357 TOOLS: Bump copyright year to 2019 2019-03-03 15:52:05 +00:00
Thierry Crozat 5e6e8dd12b TOOLS: Bump copyright year to 2018 2018-01-23 23:01:06 +00:00
Thierry Crozat e3906209b5 TOOLS: Bump copyright year to 2017 2017-01-13 22:12:15 +00:00
Thierry Crozat 326771eeb3 ALL: Update copyright years 2016-01-01 14:06:44 +00: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 2366007cf5 TOOLS: Fixed hanged application when running GUI tools
This was a regression introduced by commit d02758e. It caused
onIdle() to be never called and as a result the application didn't show
progress from the tool thread and didn't know either when it had
finished.
2013-03-01 22:17:00 +00:00
Thierry Crozat d02758eef0 TOOLS: Fix crash when compiling with wxWidgets 2.9
The issue occurred on the Intro page when clicking on the Compress,
Extract or Advanced button. The page and therefore the buttons were
destroyed from the event handler of the button that was clicked. While
this work with wxWidgets 2.8 this seems dangerous. And this caused
a crash with wxWidgets 2.9 (at least on mac-cocoa). The page deletion
is now delayed.
2012-11-27 03:18:04 +00:00
Thierry Crozat e5bd923f50 MISC: This is year 2012 2012-01-03 20:23:25 +00:00
Johannes Schickel e6a090d6f7 Strip trailing whitespaces.
svn-id: r51095
2010-07-21 18:24:07 +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 79dc53f592 Change (again) the way the image files are loaded in the tools GUI. This should improve the chances to find the files.
svn-id: r48743
2010-04-20 11:22:56 +00:00
Thierry Crozat db20cd4463 Modify (again) the way the images are loaded. It now tries either wxStandardPaths::GetResourcesDir() (on MacOS X and Windows) or APP_MEDIAD_PATH (on Linux/Unix) but not both. This is to avoid picking up the wrong files.
svn-id: r48701
2010-04-18 19:39:09 +00:00
Thierry Crozat 2544190827 Fix bug #2984217: TOOLS: The media directory is not installed
Adds a datadir option to configure (default to $prefix/share) and make install now copies the files from gui/media/ into $5DESTDIR)$(DATADIR)/scummvm-tools/
Also changes the way the GUI loads the picture files so that it has more chances to succeed (e.g. should now work without the need to install or when wxStandardPaths::GetResourcesDir() fails).

svn-id: r48700
2010-04-18 18:05:51 +00:00
Thierry Crozat 4487251881 Add version in GUI Tools window title. Also the options menu is now mapped to the Preferences menu on MacOS X.
svn-id: r48625
2010-04-11 18:09:12 +00:00
Max Horn 2362d4d657 TOOLS: Add version information to tools
svn-id: r48576
2010-04-06 22:01:25 +00:00
Max Horn 64fd6ca9ab Update copryight and Info.plist for tools trunk, too
svn-id: r48504
2010-04-04 10:00:48 +00:00
Jordi Vilalta Prat eae07f9e8a TOOLS: Whitespace cleanup
svn-id: r46751
2009-12-30 15:34:00 +00:00
Max Horn d50977e77a Fix for bug #2919303: GUI Tools: does not compile on MacOS X 10.6
svn-id: r46480
2009-12-22 12:35:28 +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 26a1e61f32 TOOLS: Center GUI windows on OS X
svn-id: r46374
2009-12-14 00:09:10 +00:00
Johannes Schickel 2c4ac6cdbc Revert accidental change in r46363 ....
svn-id: r46364
2009-12-13 20:29:06 +00:00
Johannes Schickel 9b9c7fff63 Fix compilation.
svn-id: r46363
2009-12-13 20:27:44 +00:00
Max Horn 0cbbd538e7 Fix whitespaces / code formatting
svn-id: r44360
2009-09-25 16:47:41 +00:00
Max Horn 2162ccf2b5 Fix new GUI tool on Mac OS X
svn-id: r43878
2009-09-01 13:00:25 +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 ac3d611e16 *Fixed character encoding issue.
svn-id: r43495
2009-08-17 21:01:19 +00:00
Hampus Nilsson 6e1181c300 *Added a much better looking About dialog.
svn-id: r43494
2009-08-17 20:58:39 +00:00
Hampus Nilsson 0b67a0c650 *Change "PC" platform to include the OSes (Windows/Linux/Mac)
*Menu bar now has a "Manual Page" and "Visit Website" options.
*Use resource directory on all platforms but Windows.

svn-id: r43456
2009-08-17 01:16:42 +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
Max Horn f9a62a518e Fix loading of logo & tile bitmap on Mac OS X
svn-id: r43379
2009-08-14 17:13:52 +00:00
Max Horn 4b621719a7 Fix help menu item on OS X
svn-id: r43374
2009-08-14 16:38:08 +00:00
Max Horn dec9bd18a3 Set tools GUI application name in one central place and use that everywhere; changed name of the .app bundle accordingly; tweaked the OS X menu bar a bit (still wrong, but less so)
svn-id: r43373
2009-08-14 16:32:07 +00:00
Max Horn 78fcfac8d4 Fixed about menu item on OS X; code formatting
svn-id: r43371
2009-08-14 16:17:03 +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 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 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 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 5f5e3ae0a7 *Added functions for notifying the GUI of progress.
*You can now abort execution of a running tool, the tool will be halted the next time it prints something (or calls notifyProgress, which no tool does yet).
*Fixed bug where output paths with spaces would not open on the last page.
*Fixed bug with buttons not updating.
*Some other minor fixes.

svn-id: r42399
2009-07-12 01:00:36 +00:00
Hampus Nilsson 4584791296 *Alot of GUI tweaks with sizes, position etc.
*Added about dialog.
*Added extraIn page.
*"Open output folder" now works on Windows.

svn-id: r42363
2009-07-11 01:19:19 +00:00
Hampus Nilsson 5f86189724 *Created a common base class for conversion/extraction tools, this will make the tools much easier to integrate into the GUI.
*Converted extract_agos and extract_gob_stk to use this new Tool class.
*Changed Filename to use std::string rather than char array, to integrate better with the new classes.
*Small fixes to File & Filename classes
*Small backstep on the GUI as it only supports two tools now (the converted one's), however the new tool format has many gains, the actual tool is not run yet as arguments are not passed between the UI and the tool itself.

[Due to the change of char to std::string, many files were modified, the interesting files are in addition to the new files extract_gob_stk.cpp, extract_agos.cpp, gui/pages.cpp, compress.cpp, compress.h, util.cpp and util.h]

svn-id: r42082
2009-07-04 01:07:12 +00:00