Commit Graph

1292 Commits

Author SHA1 Message Date
twanvl 02e676c54b the new pack system now actually works (yay!)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1309 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 00:04:24 +00:00
twanvl 6fe82983ed sort card list by identifying column if value in selected column is equal
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1308 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 18:51:12 +00:00
twanvl a8f4ff5afa locale version 0.3.8
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1307 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:39:47 +00:00
twanvl 157aae1179 version bump
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1306 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:33:13 +00:00
twanvl c9a11b2198 fixed assert_tagged for release builds
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1305 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:32:43 +00:00
twanvl 05ba96ab3e slightly less tagged string checking
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1304 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:25:36 +00:00
twanvl eed4c5301e - Added some calls to assert_tagged
- The tag_contents script function now works as advertised:
     - uses 'input' script variable instead of 'contents'
     - keeps the full old tag, not the one from 'tag'
     - no template code in svn breaks.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1303 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:14:20 +00:00
twanvl f134edb09d added check_tagged function that verifies that a tagged string is correct, this helps with debugging.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1302 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 17:10:54 +00:00
twanvl 794587d983 multiple choice style . alignment, direction are now scriptable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1301 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 15:21:39 +00:00
twanvl 4f969f7fe2 fixed text placement in multiple choice check lists
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1300 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 14:37:06 +00:00
twanvl 5d78df944d fixed bug in keyword parsing: seperator_after contained the whole string, causing it to be duplicated
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1299 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 14:33:00 +00:00
twanvl 1541d57c1a use font settings for drawing multiple choice text labels, spacing and direction are scriptable.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1298 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 14:19:17 +00:00
twanvl 9551d600eb save open_sets_in_new_window setting
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1297 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-08 13:52:53 +00:00
pichoro 4a64c97d62 Removed ~THIS~ from magic.mse-game/auto_replace due to redundancy with ~.
Added first version of horizontal cycle to magic.mse-game/add_cards_scripts. Should be expanded upon when dialogs are done.
Altered magic.mse-game/packs to give illusion of handling mythic rares by including in rare pack items.
Tweaked text size on magic-new-token.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1296 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-07 06:29:41 +00:00
coppro cf4aea531d Game settings loading is now deferred until the game is fully loading.
This allows auto replaces to be properly loaded from the game file.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1295 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-07 00:20:10 +00:00
pichoro 018b6a6c6b Put ~ back in text_filter. Why? Because I believe that 99.9% of users won't realize to update their automatic text replacements, and will report an error that the tilde no longer functions. Is it possible to just have automatic text replacements update when new ones are added, while keeping custom ones?
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1294 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-04 20:25:37 +00:00
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