Commit Graph

  • 5d4c3402df Added fancy mouseover effect to field borders. This might be slow, if this becomes a problem I could add a setting to disable it. Twan van Laarhoven 2020-04-25 23:59:56 +02:00
  • 7d06e903a4 Rename script function rotate -> rotate_image Twan van Laarhoven 2020-04-25 23:46:30 +02:00
  • bce298e2f0 Update changelog Twan van Laarhoven 2020-04-25 23:38:13 +02:00
  • b5f18ebec7 Take version number from Cmake file. This way the number is only in one place Twan van Laarhoven 2020-04-25 23:36:00 +02:00
  • 190d9c8ffa Clean up: remove unused code template stuff Twan van Laarhoven 2020-04-25 23:02:26 +02:00
  • 37c8641641 Replace scoped_ptr by unique_ptr Twan van Laarhoven 2020-04-25 22:28:32 +02:00
  • b7ed93cd02 Remove dependency on boost::random, since that is now in std Twan van Laarhoven 2020-04-25 22:22:15 +02:00
  • 787a707900 Use std::shuffle instead of std::random_shuffle, since the latter is removed in C++17 Twan van Laarhoven 2020-04-25 22:16:05 +02:00
  • 0d42df1537 Fix type conversion errors in GCC/wxGTK Twan van Laarhoven 2020-04-25 22:02:37 +02:00
  • 64ea1d7322 Clean up pointer use: * Use unique_ptr for Actions instead of manual memory management * Use unique_ptr in KeywordDatabase * Use unique_ptr instead of shared_ptr for file formats * Don't pass shared_ptr to Reader/Writer, use references instead Also * Switch to C++17 so we can use map::try_emplace Twan van Laarhoven 2020-04-25 21:30:05 +02:00
  • 708b4389a0 Use make_intrusive/make_shared for smart pointer construction. Twan van Laarhoven 2020-04-23 23:51:34 +02:00
  • 815df01ba5 Don't throw internal errors when built_in_image script function fails to find an image Twan van Laarhoven 2020-04-23 23:00:38 +02:00
  • 4258ce1c6c Remove AColor class, because wxColour now supports alpha values. Twan van Laarhoven 2020-04-23 22:59:29 +02:00
  • 1fe145864e Merge pull request #1 from fenhl/patch-1 Twan van Laarhoven 2020-04-25 20:50:55 +02:00
  • 0cd0ac6737 Clarify build instructions Fenhl 2020-04-25 00:54:18 +00:00
  • 0ca2c70310 Add keyboard navigation and history to console panel. Twan van Laarhoven 2020-04-23 22:02:13 +02:00
  • 257c82ed90 Tweak spacing on keywords panel Twan van Laarhoven 2020-04-23 21:20:40 +02:00
  • 3e8dd98b45 Ignore .bak files Twan van Laarhoven 2020-04-23 20:23:19 +02:00
  • 8f8e2cea65 Expose the 'warning' function, and added a similar 'error' function. Add documentation. Twan van Laarhoven 2020-04-23 20:22:43 +02:00
  • e9456eea86 Fix: refresh list also when changes are made to item 0 Twan van Laarhoven 2020-04-23 19:59:47 +02:00
  • bad896898f Don't throw Char* Twan van Laarhoven 2020-04-23 19:56:46 +02:00
  • a585fc40cc Remove some useless "typedef wxX X" Twan van Laarhoven 2020-04-22 23:58:01 +02:00
  • 713a9e4a40 Use underscores instead of spaces for all internal names. And renamed some script functions at the same time. Twan van Laarhoven 2020-04-22 23:33:06 +02:00
  • be4bb8d8ed Warning fix Twan van Laarhoven 2020-04-21 21:52:05 +02:00
  • a6cd6c2dd0 Spelling of canonical Twan van Laarhoven 2020-04-21 21:48:47 +02:00
  • 25345b86bd Fix: use radians instead of degrees Twan van Laarhoven 2020-04-21 21:42:44 +02:00
  • 39f504ad90 Sstrip special characters from set name before showing save file dialog Twan van Laarhoven 2020-04-21 01:13:11 +02:00
  • 3f8f9bef1a (typo) Twan van Laarhoven 2020-04-21 01:11:28 +02:00
  • 294c12b180 Remove space below tab bar, it has repaint issues and wastes space Twan van Laarhoven 2020-04-21 01:04:58 +02:00
  • 3c381a5de2 Slightly fancier dotted pen on wxMSW Twan van Laarhoven 2020-04-21 00:46:12 +02:00
  • e8e7e10fa0 Make extension optional in --export command. Twan van Laarhoven 2020-04-21 00:23:42 +02:00
  • 59d59e97fd fixed: write_image_file failed with --export with relative path, because the is-relative-to-target-dir check was wrong Twan van Laarhoven 2020-04-21 00:13:23 +02:00
  • e72909f430 Remember contents of filter control when switching tabs Twan van Laarhoven 2020-04-21 00:10:17 +02:00
  • 4889f0b7e8 Renamed --export to --export-image Added new --export command line argument for exporting using a scripted/html export template. Twan van Laarhoven 2020-04-20 23:59:22 +02:00
  • 21e13c60c8 Fix: win32 cli wrapper: restore original console attributes Twan van Laarhoven 2020-04-20 23:27:00 +02:00
  • 52cb4284f1 Clean up command line argument handling a bit Twan van Laarhoven 2020-04-20 23:21:32 +02:00
  • b8c5a312e6 Move print_pending_errors to text_io_handler Twan van Laarhoven 2020-04-20 23:04:38 +02:00
  • b283a02d2f to_code and to color conversion for ScriptNil Twan van Laarhoven 2020-04-20 22:45:20 +02:00
  • b0180547ae Fix Regex::replace_all to actually do something Twan van Laarhoven 2020-04-20 21:18:40 +02:00
  • a5b2b77d2a Use C++14 so we have make_unique Twan van Laarhoven 2020-04-20 19:49:25 +02:00
  • 0310ca9f32 Add tests for scripting language Twan van Laarhoven 2020-04-20 01:58:13 +02:00
  • 3dbd03511f Add support for running script files (indicated by .mse-script extension) from the command line. Twan van Laarhoven 2020-04-20 01:38:19 +02:00
  • a2b1d2bd80 Update changelog Twan van Laarhoven 2020-04-19 23:33:45 +02:00
  • 24f4b4edba Add type_name function to query the type of a value Twan van Laarhoven 2020-04-18 22:01:49 +02:00
  • 1c9139a490 Console panel sets "card" variable to selected card Twan van Laarhoven 2020-04-18 21:44:02 +02:00
  • 332f7b9ed8 getContext() clears "card" from the context Twan van Laarhoven 2020-04-18 21:34:31 +02:00
  • 9c9eba77a0 Fix: substr("foo",begin:3) now returns "" instead of true Twan van Laarhoven 2020-04-18 19:34:32 +02:00
  • 3b4f3a948c Fix: length now works correctly for maps Twan van Laarhoven 2020-04-18 19:32:25 +02:00
  • e464327e69 filter ctrl: don't force height Twan van Laarhoven 2020-04-18 19:12:52 +02:00
  • 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. Twan van Laarhoven 2020-04-18 19:08:35 +02:00
  • 0d38c64e86 Fix parsing issues on linux: iswalpha and friends don't work correctly on non-ascii characters. Twan van Laarhoven 2020-04-18 01:01:57 +02:00
  • efa1db8789 Fix text on about window Twan van Laarhoven 2020-04-16 21:03:07 +02:00
  • 0706ecae13 Fix wxGTK warnings about GetScrollPos on window without scrollbar Twan van Laarhoven 2020-04-16 19:29:46 +02:00
  • cbf1251f8c Fix more gcc warnings Twan van Laarhoven 2020-04-16 01:03:10 +02:00
  • 40a84687c7 Fixed some gcc warnings Twan van Laarhoven 2020-04-16 00:45:43 +02:00
  • a8d78fc28c Fix errors about string iteration on gcc/linux builds Twan van Laarhoven 2020-04-16 00:32:11 +02:00
  • eadf39cf83 Build win32 cli wrapper Twan van Laarhoven 2020-04-16 00:24:40 +02:00
  • 87f49aa9c4 readme Twan van Laarhoven 2020-04-14 23:15:19 +02:00
  • 508ee302e1 Readme file with build instructions Twan van Laarhoven 2020-04-14 22:35:18 +02:00
  • 2ef73f3fa3 Rewrite spec_sort: don't use REMOVED, fix code to work with wx unicode strings. Twan van Laarhoven 2020-04-14 21:07:33 +02:00
  • 0cffdb7d1a move reverse_string to string.hpp Twan van Laarhoven 2020-04-14 20:27:39 +02:00
  • 36918281c0 Fix: index out of bounds Twan van Laarhoven 2020-04-10 18:57:59 +02:00
  • add34c3bcb Ignore generated files Twan van Laarhoven 2020-04-10 17:45:24 +02:00
  • f76a1230c4 Fix compilation in gcc Twan van Laarhoven 2020-04-10 17:44:29 +02:00
  • 12715e3845 Fix sizer: wxGROW+center alignment not allowed Twan van Laarhoven 2020-04-10 17:44:03 +02:00
  • 482c7103ed Fix index out of bounds error Twan van Laarhoven 2020-04-10 17:27:04 +02:00
  • f10ec682ad Fix index out of range bug Twan van Laarhoven 2020-04-10 16:57:53 +02:00
  • 5700005243 Cleanup: use DoGetBestClientSize Twan van Laarhoven 2020-04-10 16:57:21 +02:00
  • 25fd7dc079 Fix: separate menu for export from toolbar Twan van Laarhoven 2020-04-10 16:56:54 +02:00
  • be9bae942e Fix empty bitmap issue Fix: invalidate best size cache that is used in newer wxWidgets versions Twan van Laarhoven 2020-04-10 16:56:07 +02:00
  • 9e6cfe9b7e Fix: wxFlexGridSizer doesn't like center alignment with wxEXPAND Twan van Laarhoven 2020-04-10 14:46:53 +02:00
  • 634c672bff fix typo in resource name Twan van Laarhoven 2020-04-10 14:46:40 +02:00
  • 914a4ecceb fix iterator error Twan van Laarhoven 2020-04-10 14:46:27 +02:00
  • 1718198d86 CMake settings file for MSVC Twan van Laarhoven 2020-04-10 14:24:47 +02:00
  • 87ad7c4f08 Cleanup: remove old build system Twan van Laarhoven 2020-04-10 14:24:27 +02:00
  • 4ebf0c51ee Build resource file. Generate expected_locale_keys from cmakefile Twan van Laarhoven 2020-04-10 14:23:54 +02:00
  • 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. Twan van Laarhoven 2020-04-08 01:24:19 +02:00
  • 35a89676b4 CMake file Update to C++ 11: std::shared_ptr, for each loops Update to wxWidgets 3.0+ Twan van Laarhoven 2020-04-08 00:18:14 +02:00
  • aa39a9bc71 Make PNG the default export format. Lymia Aluysia 2017-01-24 10:49:14 -06:00
  • 2936cdf436 Don't strip things automatically. Add missing file. Lymia Aluysia 2017-01-24 10:46:07 -06:00
  • e92d25f01a Get icon back on MSE binary. Lymia Aluysia 2017-01-18 19:15:29 -06:00
  • efb1ce919c Clean up the maekfile a bit sicne we aren't using config.h anyway. Lymia Aluysia 2017-01-18 17:49:50 -06:00
  • ef01b6a2bb More repo cleanup. Lymia Aluysia 2017-01-18 16:59:06 -06:00
  • 91026c5341 More work on improving build system. Lymia Aluysia 2017-01-18 16:07:02 -06:00
  • 76cf6fc0d6 Suppress libpng errors. Lymia Aluysia 2017-01-18 09:14:17 -06:00
  • 1d912a6853 Update copyright strings. Lymia Aluysia 2017-01-18 08:52:57 -06:00
  • d2c635f739 Change tabs to two spaces. Lymia Aluysia 2017-01-18 08:43:21 -06:00
  • d7f5f0dc3b Make .gitignore ignore Windows binaries as well. Lymia Aluysia 2017-01-18 08:33:29 -06:00
  • 0f8222b345 Minor cleanup. Lymia Aluysia 2017-01-18 08:32:41 -06:00
  • d78101bcd7 Fix font resolution on Linux. Lymia Aluysia 2017-01-18 08:24:12 -06:00
  • d4e95c4a9d Remove MSVC build files. Lymia Aluysia 2017-01-18 07:47:51 -06:00
  • 42a5478313 Set BOOST_USE_WINDOWS_H in configure.ac and suppress wxWidgets header warnings. Lymia Aluysia 2017-01-18 07:01:28 -06:00
  • 116b7e9265 Exclude win32 wrapper. Lymia Aluysia 2017-01-18 06:57:12 -06:00
  • 1c639de511 Fix linking on MingW32 Lymia Aluysia 2017-01-18 06:43:35 -06:00
  • 241f19c865 Fix compiling/linking on Linux. Lymia Aluysia 2017-01-18 06:35:38 -06:00
  • 8f7cc53d5b Fix crash. Lymia Aluysia 2017-01-18 06:25:22 -06:00
  • e0213877e4 Delete template data. Lymia Aluysia 2017-01-18 06:13:30 -06:00
  • 8c960f0c34 Work on compiling on mingw Lymia Aluysia 2017-01-18 04:56:16 -06:00
  • cc76e26495 Add --target option to configure script. Lymia Aluysia 2017-01-18 01:16:44 -06:00
  • 57279bb56e Always save images as png, fixes #69 twanvl 2011-03-30 13:10:03 +00:00