Commit Graph

1248 Commits

Author SHA1 Message Date
twanvl dcbc03ee44 toCode should now never give an error, instead returning things like "<card>"
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1265 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-29 18:50:08 +00:00
twanvl e1750ee504 renamed SpellChecker::destroy to destroyAll, because the former conflicted with IntrusivePtrBase::destroy. The result was that destroy was called recursively and objects were freed multiple times.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1264 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-29 18:49:05 +00:00
twanvl 6b39fa844b fixed bug in filter_text: it was doing something completely incorrect
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1263 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-29 18:43:05 +00:00
twanvl a57170e7c2 Simple spelling checker using the Hunspell library.
This time adding the source files :)

The checker is used (experimentally) by the magic game file.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1262 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-29 01:34:13 +00:00
twanvl 1ac3294993 Simple spelling checker using the Hunspell library.
Currently the checker is only exposed through the script function check_spelling_word, which returns true if the word is spelled correctly.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1261 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-28 21:44:48 +00:00
twanvl 7dc4bc9ca5 try to get stack traces for InternalErrors, it doesn't work yet for errors caught with OnExceptionInMainLoop, because they are rethrown.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1260 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-28 19:18:35 +00:00
twanvl a8b32d145b some more minor graph tweaks
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1259 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-28 03:02:12 +00:00
twanvl eae8757d9e some tweaks to the size of circles in a scatter plot
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1258 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-28 02:48:07 +00:00
twanvl dfc614849e Remember separate most recent directories for:
- set files
 - symbol files
 - importing images
 - exporting

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1257 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 22:16:22 +00:00
twanvl f191090852 Added "text length (lines)" statistics dimension
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1256 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 19:40:00 +00:00
twanvl e423b6956f documented the split_text script function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1255 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 19:39:20 +00:00
twanvl 81280467d5 fixed typo in for loop that could cause a crash on the stats panel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1254 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 19:13:37 +00:00
twanvl cd88dc3783 Added drop down lists to toolbar buttons for:
- card rotation
 - add (multiple) cards

Requires patch to wx (or the HEAD branch version), see http://trac.wxwidgets.org/ticket/8556
this appears to be for MSW only.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1253 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-27 18:31:35 +00:00
twanvl 003af8bed6 add note saying that alignment type has changed
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1252 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 19:22:44 +00:00
twanvl fee64d283f Cleaned up the Alignment type, it is now much more orthogonal.
Changed the behavior of justifying:
 - by default justify words instead of characters
 - only justify before soft line breaks, unless "alignment: force justify" is used.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1251 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 19:17:55 +00:00
twanvl 310dc1333d simple :info command for dumping set info from CLI
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1250 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 17:53:21 +00:00
twanvl 156e592636 made padding and line height scriptable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1249 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 17:40:17 +00:00
twanvl 095bef4f9b option to :profile command, to specify how detailed profile output should be
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1248 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 17:37:40 +00:00
twanvl 0cd128cfb3 more detailed profiling of getMember
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1247 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 17:35:21 +00:00
twanvl fa3950d97b move towards per-line alignment
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1246 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 17:21:10 +00:00
twanvl d4412cf162 working on an improved random pack system, #ifdefed out for now
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1245 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 16:30:21 +00:00
twanvl dc2028a956 let profiler trace 'get member' calls, because I suspect they might be slow (linear string lookup)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1244 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 16:28:17 +00:00
twanvl 010c8d8d0b minor script parser things
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1243 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 15:46:51 +00:00
twanvl d4e9476759 fixed: "include file" did not reset the parent package, so this didn't work:
script:
    include file: /other-package/stuff
    include file: something-from-this-package


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1242 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 15:24:48 +00:00
twanvl fee35c2804 made welcome_window compile on windows again
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1241 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 15:16:27 +00:00
twanvl 44a779222d profiling of order cache
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1240 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-11 15:11:55 +00:00
artfreakwiu daad8929dc git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1239 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-12-03 01:28:15 +00:00
pichoro d6e9877578 Fixed some casting costs.
Upgraded blending for magic-new-planeswalker.
Fixed some errors and missing features in magic-new-flip's blending.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1238 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-11-28 04:34:12 +00:00
pichoro c8d9370ef5 Update to Yu-Gi-Oh to allow more additional card controls in pack generator.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1237 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-11-13 13:42:28 +00:00
artfreakwiu b2f811d443 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1236 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-28 16:49:00 +00:00
artfreakwiu 9b68513804 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1235 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-28 16:01:24 +00:00
artfreakwiu 9de166523c git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1234 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-28 03:30:04 +00:00
artfreakwiu a3b670765e git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1233 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-28 03:13:10 +00:00
artfreakwiu 8197e652ab git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1232 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-27 23:45:31 +00:00
artfreakwiu 7604142acc git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1231 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-27 00:29:20 +00:00
artfreakwiu 97118f87b5 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1230 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-26 22:17:35 +00:00
artfreakwiu a206f6113f git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1229 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-25 21:13:30 +00:00
artfreakwiu aefb75202e git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1228 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-25 20:57:59 +00:00
artfreakwiu 699cc07554 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1227 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-25 20:53:01 +00:00
pichoro fc3b2df982 Version bump. When game and style are both updated, style's game dependancy needs to be updated to reflect.
Removed unused symbols from official symbol-font.
Fixed some errors in insert symbol menu of symbol-fonts.
Fixed an error in pack generator.
Fixed flight/range/ongoing icons so that they are both defaulted and editable.
Added custom symbols for unofficial symbol-font.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1226 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-10-24 03:05:37 +00:00
artfreakwiu 370b977b82 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1225 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-21 03:23:17 +00:00
artfreakwiu 7f49e569f1 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1224 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-19 18:07:26 +00:00
artfreakwiu ac64393d04 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1223 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-17 19:59:05 +00:00
artfreakwiu c02f82bb2b git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1222 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-10-13 21:44:11 +00:00
twanvl f62bc25e66 documentation typo: masked_blend != linear_blend
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1221 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-10-13 17:56:35 +00:00
pichoro b28e87e5fe Version bumping from past edits.
Updating vs-standard-new to match vs-standard-official and vs-standard-arrow.
Changed insert symbol menus to use "•" instead of "<>", so they actually work.
New plan for preventing symbolization of affiliations on old style cards.  May need further tweaking.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1220 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-10-07 03:12:03 +00:00
artfreakwiu 6e18877f61 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1219 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-09-29 22:57:17 +00:00
artfreakwiu 0c622980bc git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1218 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-09-29 22:46:49 +00:00
artfreakwiu 63b3546726 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1217 0fc631ac-6414-0410-93d0-97cfa31319b6 2008-09-29 22:22:07 +00:00
pichoro fcfd2bb9e4 Added field descriptions when missing.
Possible fix for affiliation separator problem.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1216 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-09-27 01:51:57 +00:00