Commit Graph

423 Commits

Author SHA1 Message Date
coppro 4bf2d44ebe Compatibility check - export is still a reserved word.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@431 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-24 15:32:15 +00:00
twanvl f0628317a3 Added clone() function to Value.
Added support for per-card styling

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@430 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-24 01:30:34 +00:00
twanvl df9bb78e51 'initial' property for color fields;
export options stored in settings;
editor for export options.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@429 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-23 19:44:50 +00:00
twanvl e46cbe66b2 Cleaned up Set::Styling/Card::Styling by spliting that functionality into a 'DelayedIndexMaps' class;
Added 'right' and 'bottom' properties to style as an alternative way of specifying width/height;
Added content_width, content_height and content_lines properties that give feedback on text rendering;
Always show warnings when showing errors and vice-versa, this prevents script errors from appearing before the reader/parse error that caused them;
Finally some preliminairy work on export templates

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@428 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-22 23:12:41 +00:00
twanvl 97e0e8d6d6 Choice rendering now uses "style.image()" instead of "style.choice_images[value]";
Added script functions for working with multiple choice values;
Added in_context support for filter_rule;
Optimized toUpper/toLower because they are slow on windows (they use thread local storage and mutexes)

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@427 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-17 13:13:56 +00:00
coppro 59d0aee4e7 Fixed line heights on styles
Added tournament pack entry for pack generation.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@426 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-17 01:56:15 +00:00
twanvl 3d84690e69 BlankImage and ImageValueToImage
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@425 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-16 21:48:57 +00:00
pichoro 0eae598420 More polish on keywords.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@424 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-15 04:08:49 +00:00
twanvl e287348843 Added 'or else' construct to script language.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@423 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-14 18:31:47 +00:00
twanvl 40e55e8151 scripting language now has support for list and map literals: " [a,b,c] "
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@422 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-14 14:25:53 +00:00
twanvl 6e55175f51 Fixed: < was matched by spec_sort "<xyz>"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@421 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-14 14:24:49 +00:00
twanvl 8b11433cbd Reader now warns about invalid UTF-8 files;
Fixed possible hang when reading multiline strings with incorrect indentation;
Warnings from reading are shown also in NewSetWindow;
Script parse errors get reported with the correct line number;

Added support for showing multiple choice fields as a single image;
Added 'line_below' to ChoiceField::Choice, for putting a line below menu items.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@420 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-12 19:35:24 +00:00
twanvl 27833003c8 The thread safety stuff is only needed for GTK
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@419 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-11 15:46:05 +00:00
twanvl 806d44239e 900x900 is too large for most screens (i.e. 800x600 or 1024x768)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@418 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-11 15:41:29 +00:00
twanvl 217e8166ab Fixed 'subtract' symbol combine mode
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@417 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-11 15:40:15 +00:00
pichoro f02f6fac87 Polished keywords.
Changed inline mode to action mode.
Changed vanguard keywords so all but pseudo act like inline keywords.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@416 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-10 06:47:52 +00:00
coppro c4e340f9e4 Fixed crash with new thread-safety code (primarily on watermarks)
Actually added only showing "open recent set" if exists
Removed a call to deprecated functions.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@415 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-09 05:10:53 +00:00
pichoro 8133196f15 Finished adding overlay hybrids.
Updated flying's reminder text to 10th edition version.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@414 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-09 05:07:58 +00:00
pichoro 0fd8c42a8d Lots of font size alterations.
Fixed a problem with Magic textless that prevented pt box display.
Added most (but not all) of overlay hybrid scripts.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@413 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-06-07 02:53:39 +00:00
coppro 06138ee325 Made spec_sort specifications featuring more than one '()' not hang.
Added error window if a script error occurs while loading a set.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@412 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-23 00:47:18 +00:00
coppro 9762524025 Added Linux tarball and install scripts, and a README file.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@411 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-22 04:04:34 +00:00
coppro 9c67a4fa78 Implemented difference (XOR) option for symbols.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@410 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-22 02:31:17 +00:00
coppro 5351fca511 Expanded symbol editor to fit all the tools.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@409 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-22 02:30:48 +00:00
coppro 6ed8315c18 Removed "sides" label, as it causes lock-ups on wxGTK.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@408 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-22 02:29:40 +00:00
coppro 62ff837352 Added thread-safety to thumbnail request system.
Marked symbol requests as not being thread-safe.
Added icon to symbol editor
Made *.* actually register on *



git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@407 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-21 16:11:38 +00:00
pichoro ad7a1a6506 Shrunk pt font in all post 8th templates, except split.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@406 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-21 02:49:05 +00:00
coppro c8343f739f Fixed some symbol editor resources
Removed Makefile from repository (confuses people who should use 
configure)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@405 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-20 23:39:17 +00:00
coppro af89fe04d5 Fixed caret size.
Made delete card button greyed-out with only one card in set (oops)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@404 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-20 21:28:28 +00:00
coppro bd891efc15 Changed so you can't delete last card in set.
(this can cause crashes, and an empty set seems pointless anyways.)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@403 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-20 19:39:41 +00:00
pichoro 7d49be5a3a Updated Imprint.
Changed center justification to not default.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@402 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-20 03:06:47 +00:00
coppro 9a2b992c06 Fixed GTK GetTextExtent bug
Added resources shell script


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@401 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 21:15:20 +00:00
twanvl b4c7cfb5bc attempt at fixing text extent for gtk
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@400 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 18:59:30 +00:00
twanvl d896a95cbb COL_DRAGGING event doesn't seem to do anything
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@399 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 18:59:00 +00:00
twanvl 4fc8f88d77 all card lists share the widths of the columns
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@398 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 18:12:30 +00:00
twanvl 7a66256ebd minor cleanup of '\n' to ' ' code
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@397 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 18:09:26 +00:00
coppro 8aef0b244b Fixed crash when deleting a card from a non-empty set.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@396 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 16:53:15 +00:00
coppro 32b3f86cc3 Fixed dropdown arrow display bug on Linux.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@395 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 16:12:05 +00:00
coppro c51d7f8458 Fixed keyword list replacements messing up due to being multi-line.
Fixed GCC warnings.
Added linux installer directory.



git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@394 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 15:11:14 +00:00
pichoro e5289b78d9 Fixed minor errors and added missing pieces to FPM temps.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@393 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 03:19:48 +00:00
twanvl 936fb57b69 style specific fields are now editable&saveable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@392 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-19 00:05:18 +00:00
twanvl 7230a79d85 Fixed thumbnails for choices without images
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@391 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-18 22:37:50 +00:00
twanvl e9597a142c Fixed bug in fields in style file;
No longer doing GetTextExtent("\n");
Moved pt boxes to style files;

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@390 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-18 22:22:18 +00:00
twanvl 4a6e10ad93 Support for extra card fields in stylesheets;
Fixed some bugs:
 - Missing choice images can crash mse.
 - The wrong style is used for making preview choice images on style panel.
FOR_EACH(x, *y.z) should now work without parentheses on linux as well.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@389 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-18 21:26:21 +00:00
coppro 1c687fdc96 Prevented some crashes from uncaught exceptions
Moved mse.ico to app.ico
Fixed the Linux version of load_resource_icon().


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@388 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-18 19:11:40 +00:00
pichoro 0b05d97ed6 Fixed an error in magic-mana-beveled symbol font.
Fixed an error in Forcast in both Magic and Vanguard.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@387 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-17 03:59:09 +00:00
twanvl ee8f14c2ed Automatic conversion of keyword parameter to number;
Made alignment scriptable

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@386 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-17 00:46:57 +00:00
twanvl d2fe3b6ba0 Fixed another smart pointer bug (assignment operator copied ref count);
Fixed symbol editor grid

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@385 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-16 19:18:16 +00:00
pichoro 738f5f962e Added colorless frames for Extended Art and Oldstyle Token.
Changed font on Oldstyle Token to MPlantin.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@384 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-16 03:05:35 +00:00
twanvl ee6f0b9df7 Delayed updating of scripts on keyword changes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@383 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-15 16:43:13 +00:00
coppro 82a7690909 Fixed input.
Update configure script to wxWidgets 2.8
Added required 2.8 includes.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@382 0fc631ac-6414-0410-93d0-97cfa31319b6
2007-05-15 16:41:08 +00:00