Commit Graph

738 Commits

Author SHA1 Message Date
twanvl 9abfdd171c added "for each k:v in .. do .." statement
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1174 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 13:06:24 +00:00
twanvl b07e4a7886 Setting for opening sets in the same window (pre 0.3.6 behaviour)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1172 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-27 11:58:14 +00:00
twanvl 42d40dbd1e Added Package::saveCopy, which is used to implement the write_set_file script function.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1169 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 19:48:51 +00:00
twanvl 2a4a896540 fixed printing of rotated cards
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1168 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 18:27:54 +00:00
twanvl 0b24e1ab20 fixed crash in cursor movement code when adding keyword parameter
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1167 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 18:27:11 +00:00
twanvl b28ae56b25 close scopes in exception handler
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1166 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 18:26:31 +00:00
twanvl c8fb341e1a Fixed random_int and random_real functions; added random_boolean.
Split random_select into random_select and random_select_many.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1161 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-24 16:08:13 +00:00
coppro ec63e3b18b More workingness, now accepts locally-stored resources!
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1158 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-21 04:06:50 +00:00
coppro d13b721b41 Updates to make Linux work... still lost of issues.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1157 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-21 02:41:30 +00:00
twanvl f1fe40b4ef Added new_card function;
Added parameter to ScriptValue::next to recieve the key of the item.
Finished Add Multiple Cards behaviour.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1147 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 20:52:33 +00:00
twanvl ca63496ade Inheriting CardViewer from wxPanel was causing problems with the focus
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1146 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 20:48:47 +00:00
twanvl 25a301b070 Partial support for add multiple cards scripts, not visible to users yet
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1140 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 15:48:20 +00:00
twanvl 1691efd6d5 card viewers/editors inherit from wxPanel;
GallertList doesn't call select() from onSize

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1139 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 14:04:00 +00:00
twanvl 520b472483 Resize list of stylesheets to fit available space
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1138 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 13:23:29 +00:00
twanvl 5fddaa3715 Multicolumn support (major level) for gallery list
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1137 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 12:21:38 +00:00
twanvl 62d86bf8c3 use margin instead of vspace at the bottom of NativeLookEditor
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1136 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 11:57:53 +00:00
twanvl 76c3950c89 Use locale to translate pack names things
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1135 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 11:57:18 +00:00
twanvl 351d5b7613 renamed GalleryList member column -> subcolumn, so we can have proper columns later on as well.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1134 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-11 11:56:35 +00:00
twanvl 59449c648a don't keep adding to the padding of native look styles
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1128 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 21:44:54 +00:00
twanvl 22722f28ce Put card notes below the card editor if they fit there (dynamically)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1127 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 21:38:53 +00:00
twanvl 4d674712d1 Icon for random cards panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1124 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 18:32:48 +00:00
twanvl a10ca59cef try to find default symbol again
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1123 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 18:17:02 +00:00
twanvl cb72dbea2f added total number of cards to random pack panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1122 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 17:34:13 +00:00
twanvl 80064cf540 fixed non-unicode build
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1120 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 16:01:02 +00:00
twanvl 1654935a4f don't include spacing in symbol font text drawing alignment&size calculations
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1119 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 15:29:57 +00:00
twanvl 07d509ae78 Fixed: last cursor position of text box was not checked when trying to find new cursor position.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1118 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 14:41:38 +00:00
twanvl d48e93f6a5 documented :cd and :pwd commands
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1117 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 01:55:49 +00:00
twanvl 9e77a63526 Allow writing files anywhere from the command lines interface, not just in the working directory
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1116 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 01:54:17 +00:00
twanvl 76728dfed9 Package icons will be loaded from installers if possible
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1114 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-09 00:39:06 +00:00
twanvl d14af1c43a Fixed possible crash in dependency checking
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1113 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 23:53:59 +00:00
twanvl e575af3320 fixed: packages can now be upgraded from installers, their status was not updated
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1112 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 23:53:20 +00:00
twanvl f870f48b13 HTML export widow also uses cards selector
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1109 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 22:16:06 +00:00
twanvl 3c5ec28d8d new card selection thingy also used for "export all card images"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1108 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 21:51:58 +00:00
twanvl 2d2c434bd8 Generated packs can now be selected for printing.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1107 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 21:35:38 +00:00
twanvl 5cde673976 don't refresh stats panel when only a style changes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1106 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 19:04:14 +00:00
twanvl 47c5fd2d7a random seed settings stored at the right time
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1105 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 19:01:44 +00:00
twanvl 0a19ecf83d NO_REPLACE is default for packs
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1103 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 18:38:19 +00:00
twanvl 893547aff2 Locale now sneakily also recognizes lines marked as #_ADD
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1101 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 18:25:47 +00:00
twanvl 5baabc33d4 also whine about 'mse version' declaration in locales.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1098 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 16:39:55 +00:00
twanvl 8389ed0c9a Fixed: include files where not read with the same ignore_invalid settings
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1097 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 13:55:59 +00:00
twanvl 8b01aa1823 Ignore --color flags when creating installers and when exporting
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1096 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 13:41:32 +00:00
twanvl 01a220f199 Made symbol font size and alignment scriptable.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1091 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-08 00:35:53 +00:00
twanvl 01630e0f5f Add padding_right to nativLook text boxes, to account for the scrollbar
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1090 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 21:12:53 +00:00
twanvl 44f6acade7 Dependencies on stylesheet are marked, and updated when the stylesheet changes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1087 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 20:50:19 +00:00
twanvl ee9060077b Fixed conversion bug in position_of function;
to_real no longer needs to throw exceptions when conversion fails

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1086 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 19:39:06 +00:00
twanvl 7eb05cbd7e Moved clean_filename to file_utils.cpp where it belongs;
Split up images exporting, and moved it to data/formats/image

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1085 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 18:04:49 +00:00
twanvl b5bdaedde2 Fixed conversion from Values to other types: Values now report being of the contained type.
Added toImage function to ScriptValue.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1083 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 16:26:33 +00:00
twanvl 40719b7831 removed write_stdout function, now handled by CLI class
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1082 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 02:48:20 +00:00
twanvl c6fe6634dd Tweaked the way to use getScript() like functions;
Made condition and default_expand parameters of expand_keywords optional.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1080 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 01:54:13 +00:00
twanvl 2c6c6645f7 Lower case keywords are now recognized, but only if all parameters are given.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1078 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-08-07 01:01:51 +00:00