Commit Graph

1710 Commits

Author SHA1 Message Date
Twan van Laarhoven 3c381a5de2 Slightly fancier dotted pen on wxMSW 2020-04-21 00:46:12 +02:00
Twan van Laarhoven e8e7e10fa0 Make extension optional in --export command.
Added add_extension function
Added ExportTemplate::byName
Use ExportTemplate::byName in main
2020-04-21 00:23:42 +02:00
Twan van Laarhoven 59d59e97fd fixed: write_image_file failed with --export with relative path, because the is-relative-to-target-dir check was wrong 2020-04-21 00:13:23 +02:00
Twan van Laarhoven e72909f430 Remember contents of filter control when switching tabs 2020-04-21 00:10:17 +02:00
Twan van Laarhoven 4889f0b7e8 Renamed --export to --export-image
Added new --export command line argument for exporting using a scripted/html export template.
2020-04-21 00:01:59 +02:00
Twan van Laarhoven 21e13c60c8 Fix: win32 cli wrapper: restore original console attributes 2020-04-20 23:27:00 +02:00
Twan van Laarhoven 52cb4284f1 Clean up command line argument handling a bit 2020-04-20 23:21:32 +02:00
Twan van Laarhoven b8c5a312e6 Move print_pending_errors to text_io_handler 2020-04-20 23:04:38 +02:00
Twan van Laarhoven b283a02d2f to_code and to color conversion for ScriptNil 2020-04-20 22:45:20 +02:00
Twan van Laarhoven b0180547ae Fix Regex::replace_all to actually do something 2020-04-20 21:19:09 +02:00
Twan van Laarhoven a5b2b77d2a Use C++14 so we have make_unique 2020-04-20 19:49:25 +02:00
Twan van Laarhoven 0310ca9f32 Add tests for scripting language 2020-04-20 01:58:13 +02:00
Twan van Laarhoven 3dbd03511f Add support for running script files (indicated by .mse-script extension) from the command line. 2020-04-20 01:38:19 +02:00
Twan van Laarhoven a2b1d2bd80 Update changelog 2020-04-19 23:33:45 +02:00
Twan van Laarhoven 24f4b4edba Add type_name function to query the type of a value 2020-04-18 22:03:25 +02:00
Twan van Laarhoven 1c9139a490 Console panel sets "card" variable to selected card 2020-04-18 21:44:02 +02:00
Twan van Laarhoven 332f7b9ed8 getContext() clears "card" from the context 2020-04-18 21:34:31 +02:00
Twan van Laarhoven 9c9eba77a0 Fix: substr("foo",begin:3) now returns "" instead of true 2020-04-18 19:34:32 +02:00
Twan van Laarhoven 3b4f3a948c Fix: length now works correctly for maps 2020-04-18 19:32:25 +02:00
Twan van Laarhoven e464327e69 filter ctrl: don't force height 2020-04-18 19:12:52 +02:00
Twan van Laarhoven 60c392a068 Moved locale validation to a compile time test, instead of a runtime check performed by MSE itself.
This also removes perl as a build dependency for people who don't want to run the test suite.
2020-04-18 19:08:35 +02:00
Twan van Laarhoven 0d38c64e86 Fix parsing issues on linux: iswalpha and friends don't work correctly on non-ascii characters. 2020-04-18 01:01:57 +02:00
Twan van Laarhoven efa1db8789 Fix text on about window 2020-04-16 21:03:07 +02:00
Twan van Laarhoven 0706ecae13 Fix wxGTK warnings about GetScrollPos on window without scrollbar 2020-04-16 19:29:46 +02:00
Twan van Laarhoven cbf1251f8c Fix more gcc warnings 2020-04-16 01:03:10 +02:00
Twan van Laarhoven 40a84687c7 Fixed some gcc warnings 2020-04-16 00:45:43 +02:00
Twan van Laarhoven a8d78fc28c Fix errors about string iteration on gcc/linux builds 2020-04-16 00:35:43 +02:00
Twan van Laarhoven eadf39cf83 Build win32 cli wrapper 2020-04-16 00:24:40 +02:00
Twan van Laarhoven 87f49aa9c4 readme 2020-04-14 23:15:19 +02:00
Twan van Laarhoven 508ee302e1 Readme file with build instructions 2020-04-14 22:35:18 +02:00
Twan van Laarhoven 2ef73f3fa3 Rewrite spec_sort: don't use REMOVED, fix code to work with wx unicode strings. 2020-04-14 21:07:33 +02:00
Twan van Laarhoven 0cffdb7d1a move reverse_string to string.hpp 2020-04-14 20:27:39 +02:00
Twan van Laarhoven 36918281c0 Fix: index out of bounds 2020-04-10 18:57:59 +02:00
Twan van Laarhoven add34c3bcb Ignore generated files 2020-04-10 17:46:58 +02:00
Twan van Laarhoven f76a1230c4 Fix compilation in gcc 2020-04-10 17:44:29 +02:00
Twan van Laarhoven 12715e3845 Fix sizer: wxGROW+center alignment not allowed 2020-04-10 17:44:03 +02:00
Twan van Laarhoven 482c7103ed Fix index out of bounds error 2020-04-10 17:27:04 +02:00
Twan van Laarhoven f10ec682ad Fix index out of range bug 2020-04-10 16:57:53 +02:00
Twan van Laarhoven 5700005243 Cleanup: use DoGetBestClientSize 2020-04-10 16:57:21 +02:00
Twan van Laarhoven 25fd7dc079 Fix: separate menu for export from toolbar 2020-04-10 16:56:54 +02:00
Twan van Laarhoven be9bae942e Fix empty bitmap issue
Fix: invalidate best size cache that is used in newer wxWidgets versions
2020-04-10 16:56:07 +02:00
Twan van Laarhoven 9e6cfe9b7e Fix: wxFlexGridSizer doesn't like center alignment with wxEXPAND 2020-04-10 14:46:53 +02:00
Twan van Laarhoven 634c672bff fix typo in resource name 2020-04-10 14:46:40 +02:00
Twan van Laarhoven 914a4ecceb fix iterator error 2020-04-10 14:46:27 +02:00
Twan van Laarhoven 1718198d86 CMake settings file for MSVC 2020-04-10 14:24:47 +02:00
Twan van Laarhoven 87ad7c4f08 Cleanup: remove old build system 2020-04-10 14:24:27 +02:00
Twan van Laarhoven 4ebf0c51ee Build resource file.
Generate expected_locale_keys from cmakefile
2020-04-10 14:23:54 +02:00
Twan van Laarhoven 6e7a4485a8 Cleaned up utf8 decoding code.
It was actually completely broken in newer wxWidgets versions, putting '\0' characters in the string, which broke things like concatenation.
2020-04-08 01:24:19 +02:00
Twan van Laarhoven 35a89676b4 CMake file
Update to C++ 11: std::shared_ptr, for each loops
Update to wxWidgets 3.0+
2020-04-08 01:10:01 +02:00
Lymia Aluysia aa39a9bc71 Make PNG the default export format. 2017-01-24 10:49:14 -06:00