Commit Graph

1276 Commits

Author SHA1 Message Date
coppro 1c925a6225 Upped MSE's version number; pushed up M:tG's game version (spellcheck).
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1293 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-04 19:52:09 +00:00
coppro 3ee71ef6ae Added a lot of BOMs; cleaned up text replacements into auto_replace scripts.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1292 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-04 19:10:05 +00:00
pichoro 3a935ce9d2 Trying to put a stop to bolding of parameters in VS.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1291 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-04 18:26:32 +00:00
pichoro 2888ee8adf Commented out Invaders, Kree, and Skrull in VS symbol fonts because we likely won't have those images by 0.3.8 release.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1290 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-03 21:08:56 +00:00
pichoro 3f9891bbdc Removed ` from LEGENDNAME replacement; that wasn't a bug.
@ is replaced with LEGENDNAME in automatic text replacements, as the community preferred @ as the shortcut.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1289 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-03 21:07:05 +00:00
coppro ed16dd6864 Updated dictionary
Added new <nospellcheck> tag, to prevent spell-checking of words within.
Prevented spellchecking of anything a) matching a keyword or b) formed from a cardname atom
Replaced ` as LEGENDNAME alternative; I think it's a bug that it's gone


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1288 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-03 06:16:02 +00:00
coppro 697bfc3e7e Fixed scroll issues; text no longer overlaps on package lists (still truncated, but this at least is better)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1287 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 23:00:25 +00:00
coppro 46dda0ef30 Compatibility updates; Boost Regex is now statically linked, changed to <hunspell/hunspell.hxx>
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1286 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 21:52:08 +00:00
twanvl ab5ea48a9d shut up the locale warning (for now)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1285 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 21:44:18 +00:00
pichoro 7518786f28 Miscellaneous colored artifact updates for Magic, following Shards.
First Conflux keyword for Magic.
Improved Mythic Rare coloration.
Slightly improved creature type lists.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1284 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 20:52:12 +00:00
pichoro 5e0a66675c Adding first Conflux keyword to Vanguard.
Bumping VS version.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1283 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 20:35:29 +00:00
pichoro 38a91b4527 Fixing name on Magic-New-Token.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1282 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 20:18:42 +00:00
pichoro 3ddab3d137 Back to text rendered XYZ in Magic Mana fonts. Left rendered symbols for XYZ in case things don't work out.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1281 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 20:17:57 +00:00
coppro edbdf2a15e Makefile modifications for Linux; bug changes to follow
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1280 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-02 18:21:49 +00:00
twanvl 6afbbe986c more documentation spellchecking,
in documentation: @<tag>@ now highlights as a tag

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1279 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-01 21:22:45 +00:00
twanvl bd2edc947f documented check_spelling function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1278 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-01 21:19:28 +00:00
twanvl 664c12ec52 spellchecking the documentation
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1277 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-01 20:39:30 +00:00
twanvl 10da8c7175 fix warnings about fabs(Scriptable<double>)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1276 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-31 15:25:34 +00:00
twanvl 311a743fa1 simplified handling of punctuation is spellchecker, now checks for stand alone punctuation and double spaces.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1275 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-31 03:11:25 +00:00
twanvl e36dc6e6cb apply spelling corrections from the context menu.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1274 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 19:51:41 +00:00
twanvl 2c824c9507 use a combo box instead of a spin control for the zoom settings
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1273 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 18:46:13 +00:00
twanvl 1bc965d461 put an empty word list in the subtype box if possible
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1272 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 18:45:45 +00:00
twanvl 55fe3e142c spellchecking can be disabled
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1271 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 16:38:06 +00:00
twanvl 74c95552e7 always update the scrollbar when update()ing a GalleryList, otherwise the scrollbar is not set correctly on the new set window.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1270 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 16:08:38 +00:00
twanvl 12f8be203e The check_spelling function now has support for additional dictionaries and regexes to match.
The magic game uses these features.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1269 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-30 02:09:11 +00:00
twanvl 09216eca5d punctuation breaking is now handled by check_spelling function. Symbols are now handled correctly (i.e. they are considered to be always correct)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1268 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-29 22:24:16 +00:00
twanvl cbfde59494 handle characters that have no encoding conversion in the spellchecker
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1267 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-29 19:52:25 +00:00
twanvl 2f3eb3ce78 warn about incorrect string escape sequences
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1266 0fc631ac-6414-0410-93d0-97cfa31319b6
2008-12-29 19:12:28 +00:00
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