Commit Graph

  • 574644b3eb If possible all errors are sent to stderr twanvl 2008-08-04 21:28:24 +00:00
  • 6a71b20d26 Files can be written from command line interface twanvl 2008-08-04 21:01:40 +00:00
  • ef598f2d8c command line interface can now execute scripts twanvl 2008-08-04 19:55:34 +00:00
  • c9a402e3f5 don't check for updates from CLI mode twanvl 2008-08-04 18:50:33 +00:00
  • 19bfaa0684 Beginnings of a simple command line interface twanvl 2008-08-04 18:45:46 +00:00
  • 2fb61eb780 Wrapper program for fixing CLI behaviour on windows twanvl 2008-08-04 15:59:28 +00:00
  • b7caecabf0 detect output redirection on windows twanvl 2008-08-04 14:46:57 +00:00
  • dd80a51e96 tweaks to dimension list control twanvl 2008-08-04 14:15:07 +00:00
  • 48f1315cda pack totals on random pack panel twanvl 2008-08-04 13:52:32 +00:00
  • f9a0afe64e fixed crash with empty numeric axes twanvl 2008-08-04 01:57:19 +00:00
  • 04a040dc29 random pack generation works twanvl 2008-08-04 01:38:46 +00:00
  • 0cb872a0d3 Implemented seed controls on random pack panel; seed settings and pack amounts are stored in settings twanvl 2008-08-03 22:46:53 +00:00
  • d969ae96bd remember 9 recent sets instead of only 4 twanvl 2008-08-03 20:02:49 +00:00
  • 95b5fa67a2 - Added SetWindow::setControlStatusText function for setting the status text of child controls, since wx lacks a feature for doing it automatically. - RandomPackPanel's spin controls are cleaned up when the set is reloaded - to_int script function now converts empty string: to_int("") == 0 twanvl 2008-08-03 20:01:59 +00:00
  • 063a2df8d7 Mana costs like 123/C are now parsed as {12}{3/C} instead of {123/C}. The reasoning is that a cost of {10/C} or more is very unbalanced, so you want that. twanvl 2008-08-03 19:02:07 +00:00
  • bca66f54b9 All three dimensions on stats panel in a single multicolumn list twanvl 2008-08-03 15:51:47 +00:00
  • 9b16e15c57 Added stats dimension for the card's stylesheet twanvl 2008-08-03 02:39:27 +00:00
  • 76d2eb7d42 Remove curly quotes for MWS and apprentice export twanvl 2008-08-02 20:43:45 +00:00
  • de0817099a some provisions for sorting card list by multiple columns twanvl 2008-08-02 20:34:47 +00:00
  • 2f5666ac5b dependencies of extra card fields are now also added and updated; this fixes combined_editor in extra fields. twanvl 2008-08-02 19:16:30 +00:00
  • 7aef2948e2 correct parent for file open dialog in ImageValueEditor twanvl 2008-08-02 17:10:11 +00:00
  • 76c71e5800 Catch all exceptions in onPaint functions, because otherwise we show a message box. Message boxes while in a paint handler lead to a crash on win32. Made a CATCH_ALL_ERRORS macro containing the common catch statements. twanvl 2008-08-02 17:04:30 +00:00
  • fb411139d1 minor tweak of website syntax highlighter twanvl 2008-08-02 15:27:08 +00:00
  • 6f8c1d1484 changed function name (exportCard -> includeCard), because it better describes what the function does. twanvl 2008-08-02 15:25:37 +00:00
  • b49966dc03 Updates, including improvement to atomic code to ensure portability. coppro 2008-08-01 20:58:09 +00:00
  • 4e55f0a208 Corrected some errors in Simplified Chinese translation. Still only up to date as of 0.3.6b. Added German translation. Also only up to date as of 0.3.6b. pichoro 2008-07-24 23:52:06 +00:00
  • c476de0fa2 Fixed: containsPoint for color and image value viewers. They used the wrong Rotation. twanvl 2008-07-23 12:39:07 +00:00
  • 13a37f4734 Simplified compilation of 'assert' pseudo function; Added remove_duplicates flag to sort_list function; Fixed documentation of <size:> tag twanvl 2008-07-22 22:46:04 +00:00
  • 4a8c4ba14b Fixed an error in Vs-Standard-New. pichoro 2008-07-20 22:45:24 +00:00
  • a70d9370a3 Fixed an error in Vanguard style when printing or doing print preview. pichoro 2008-07-20 22:42:04 +00:00
  • 2d91d4dc18 Colored lands for Magic-New-Flip. pichoro 2008-07-15 23:27:08 +00:00
  • 4bab20d67c Fixed: Incorrect comparison operator for AColor caused Scriptable<AColor>s to not be updated when only the alpha changed. twanvl 2008-07-11 18:01:36 +00:00
  • 3c4aa8346b Correctly merge backspace actions twanvl 2008-07-11 17:37:39 +00:00
  • c733a1fae4 delete commented out code twanvl 2008-07-11 17:08:21 +00:00
  • 8881eef42d Changed Pack structures twanvl 2008-07-11 17:07:51 +00:00
  • f235eeb100 Non-integer numeric values are sorted correctly in graphs twanvl 2008-07-11 16:38:14 +00:00
  • 684de303e0 Fixed crash caused by exception in SetWindow ctor twanvl 2008-07-09 23:03:29 +00:00
  • a0e0ab7149 controls to select packs on the RandomPackPanel twanvl 2008-07-09 22:32:16 +00:00
  • 10fdcc422b documented precedence of ^ operator twanvl 2008-07-09 21:55:52 +00:00
  • 53808346a4 Allow "or else" construct to be used for error recovery twanvl 2008-07-09 17:14:49 +00:00
  • 9073764a62 documented new script functions twanvl 2008-07-09 16:28:46 +00:00
  • bde65525ad some fixes to ^ operator twanvl 2008-07-09 16:03:13 +00:00
  • 7cb2292d36 Added ^ power operator, Added abs, random_int, random_real, random_shuffle, random_select script functions. Made == comparison of doubles use a small epsilon, so things like 3/2 == 1.5 are actually true. twanvl 2008-07-09 15:51:07 +00:00
  • 69fed99633 New saturated multicolor and dark artifacts for magic-new-flip, magic-new-split, magic-new-promo, and magic-extended-art styles. pichoro 2008-06-30 20:07:59 +00:00
  • 64b7912835 Incremented version number to 0.3.7 When saving files an older version number is used if that version of MSE would be able to open the set twanvl 2008-06-28 16:31:40 +00:00
  • c0669fb658 Fixed length function to work correctly for ScriptObjects, in particular for TextValues. twanvl 2008-06-28 15:13:04 +00:00
  • 737dc6f15e docuemntation: + also concatenates lists twanvl 2008-06-28 15:03:27 +00:00
  • c0d114c4a2 Fancier error messages for assert(X == Y) twanvl 2008-06-28 14:51:20 +00:00
  • dfae1b2729 Added count_chosen function; Added I_DUP instruction twanvl 2008-06-28 14:41:38 +00:00
  • fe2e3fb9c8 Be more strict about type conversion: * numbers are no longer auto converted to booleans, use to_boolean or != 0 * booleans are no longer auto converted to numbers, use to_int * strings will soon no longer be auto converted to numbers, use to_int twanvl 2008-06-28 13:34:57 +00:00
  • ba2665eb49 Open sets in a new window. TODO: don't allow the same set file to be opened twice, fork a window for it instead twanvl 2008-06-28 13:24:45 +00:00
  • 16dcf5bf42 Better Japanese translation by Admonisher. pichoro 2008-06-25 21:13:13 +00:00
  • 40f1682b73 Don't try to draw text on symbols if there is no font twanvl 2008-06-25 12:42:44 +00:00
  • 37329ec63e Use KaywordParamValue objects for sanity checking reminder text scripts, this fixes: "Error message "String param1 has no member 'value'" when using param1.value in custom keywords." twanvl 2008-06-25 12:42:20 +00:00
  • ecb5477958 Work around bug in wx path conversion from filenames in zip files for files with strange (unicode) names twanvl 2008-06-25 12:40:21 +00:00
  • 9c5c3de62a New affiliation symbols for VS. pichoro 2008-06-24 03:00:48 +00:00
  • 8946d7b022 Adding shrink-overflow to VS name. pichoro 2008-06-24 00:39:48 +00:00
  • f2055044f9 Changed from a critical section to a mutex for error handling. show_pending_errors() was being called over and over again from the GUI update system - somehow it managed to have a single thread in two places at once. Also tried recursive mutex, resulted in infinite dialogs until an out-of-memory crash. coppro 2008-06-21 05:02:46 +00:00
  • 158ecf67ad Now all regex functions use ScriptRule. The *_rule functions can now be considered deprecated Documented this by removing mentions of the rule functions, except for a mention of backwards compatibility. twanvl 2008-06-19 00:37:48 +00:00
  • 5ece2dbb86 More ScriptRule usage twanvl 2008-06-19 00:04:28 +00:00
  • a3d209ae35 Use ScriptRule also for regex functions, optimizing them by pre-compiling default arguments twanvl 2008-06-18 23:26:41 +00:00
  • 13157f6d67 Make ScriptClosure work correctly in combination with ScriptCompose: have a local scope. twanvl 2008-06-18 23:25:26 +00:00
  • e86d546c4a Some more examples for break_text twanvl 2008-06-18 23:24:42 +00:00
  • a9c5f72fdc Make == script operator to work correctly on collections (lists) twanvl 2008-06-18 23:11:26 +00:00
  • b7ffca6cfc Split regex related script functions into a separate file. twanvl 2008-06-18 22:25:45 +00:00
  • 864903bc0c Use closure stuff for making built in *_rule functions, simplifying the code. twanvl 2008-06-18 22:17:56 +00:00
  • 296cf8197a Also init dependencies of non rule form expand_keywords twanvl 2008-06-18 21:45:12 +00:00
  • 95d38f9ba6 Added 'assert' pseudo function so I can run some tests of the script code twanvl 2008-06-18 21:01:17 +00:00
  • 2662f9d4bf Optimize default arguments (@ operator) into script rules. The plan is to deprecate rule form completely, so instead of replace_rule(match:..) write replace_text@(match: ...) twanvl 2008-06-18 19:25:18 +00:00
  • 50b09c7673 Allow // comment in documentation twanvl 2008-06-18 19:23:25 +00:00
  • 1d4a3c700b Improved documentation of functions and default arguments a bit twanvl 2008-06-18 18:56:29 +00:00
  • 9fd097beb7 Use a lower quality in the print preview twanvl 2008-06-18 15:44:33 +00:00
  • dae6bbe380 Make windows 9x (ascii) build nag when run on other windows versions. The idea is to prevent people from using the win9x fix when there are built issues with the Unicode version. twanvl 2008-06-18 15:37:35 +00:00
  • 07966001ff Translate image slice window with locale twanvl 2008-06-18 14:37:04 +00:00
  • 83e632f5af Fixed possible crash bug with card specific style options. By changing the set stylesheet it was possible for the option values to be matched with the wrong fields. twanvl 2008-06-17 17:56:15 +00:00
  • 72864e91cb Simplified Chinese translation. pichoro 2008-06-16 04:10:29 +00:00
  • 698d7e1f9f No age is Age(0), so we don't refresh symbols all the time twanvl 2008-06-06 19:03:56 +00:00
  • 3267ac0cad Fixed bug caused by case sensitivity of filenames in newFileName twanvl 2008-06-06 19:03:30 +00:00
  • 902a85f113 Allow symbol_variation script function to load images from the stylesheet by filename twanvl 2008-06-05 20:36:20 +00:00
  • 08a156c113 Allow rotations when checking bounds of symbol parts. This will be needed to determine the correct symbol size when there are symmetries. twanvl 2008-06-05 20:17:32 +00:00
  • 5ae7f6b3ab Adjusted artbox for magic-old-split. pichoro 2008-06-05 17:48:44 +00:00
  • 96a13f6101 Some more stuff on the random pack panel. twanvl 2008-06-04 22:51:21 +00:00
  • fab664634b Fixed: 10/C and higher mana symbols do not work. Regex was incorrect, was "([XYZ0-9])+/W" should be "([XYZ0-9]+)/W" twanvl 2008-06-04 22:41:45 +00:00
  • 488ea49d64 Repaired Japanese locale. No guarantee of accuracy; no errors though. Only updated to point of 0.3.6b release. pichoro 2008-06-04 06:13:17 +00:00
  • 83a0315211 All package specific locales are now under the 'package' key in locale files. Wildcards in package names are supported. twanvl 2008-06-04 00:57:29 +00:00
  • ae14784fd6 Reduce coupling between ValueEditors/Viewers and Set and StyleSheet. - Adding of actions is done with an addAction function - Files are read from - getStylePackage for styling stuff (this is stylesheet) - getLocalPackage for symbol and image values (this was the set) twanvl 2008-06-04 00:21:06 +00:00
  • 6b0a0fd098 Fixed positioning of shrunk text in rotated dcs twanvl 2008-06-03 21:25:53 +00:00
  • 5ef36a1eec Added RandomPackPanel, for now it is empty. twanvl 2008-06-03 21:15:32 +00:00
  • aa950d1821 Use smart_less when sorting collections twanvl 2008-06-03 19:26:23 +00:00
  • 92947dc5b8 Fixed tab key behaviour the first time of viewing a card. Also fixed which editor gets the focus with Tab or Shift+Tab twanvl 2008-06-03 19:18:44 +00:00
  • d00beeb55f Closure operator now behaves as default argument operator, documentation. twanvl 2008-06-03 18:33:17 +00:00
  • c5159ebcf7 "div" operator for integer division, Added parser support for closure operator fun@(args) Use equal() function for all script comparisons, better support for deciding when to use strings and when to use pointers equality. twanvl 2008-06-03 16:38:33 +00:00
  • 6912dfda09 Simplified script VM: - removed I_RET instruction, return is now implicit at end of script - I_POP is not a binary instruction. twanvl 2008-06-03 14:08:11 +00:00
  • 03cfd6bb79 Fixed image mask for magic-new-planeswalker. Fixed "legendname" error involving AE character. pichoro 2008-06-03 04:08:44 +00:00
  • d2464a0736 Fixing mana font size mistakes dealing with both guild hybrids and #/C hybrids. pichoro 2008-06-02 22:31:14 +00:00
  • dfe5531db4 Version bump for 0.3.6b hotfix release twanvl 2008-06-02 22:22:03 +00:00
  • 1d79ab21bf Moving typeline for magic-old up 1 pixel. pichoro 2008-06-02 22:19:58 +00:00
  • c7dadbcab4 Mythic rares for Magic. This is an approximation, not a final version. pichoro 2008-06-02 22:09:46 +00:00
  • bd09a24b69 These asserts were there because this shouldn't happen, I added them back for debug builds. We really should find the cause of any violations. twanvl 2008-06-02 21:35:10 +00:00
  • e2246546b0 Case insensitive string compare inside installers twanvl 2008-06-02 21:25:53 +00:00