2336 Commits

Author SHA1 Message Date
twanvl c5d92f7d13 don't close window on error
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1454 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:13:56 +00:00
twanvl 8ed09c48bf Fixed #24: nullptr error in graph code
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1453 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 19:13:19 +00:00
twanvl 4a31b77d2c Use a HandleEvent wrapper instead of OnExceptionInMainLoop.
This way we don't rely on rethrowing exceptions. This method has proven to work well in other projects.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1452 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:52:40 +00:00
twanvl 864cabb590 fixed nullptr exception when opening a stylesheet without a game twice, the solution is to re-load when loading/validating fails the first time
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1451 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:49:12 +00:00
twanvl 854998f204 Fix #25: Program throws exception when clicking on the 'stylesheet' list if there are no stylesheets.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1450 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:37:47 +00:00
twanvl f88d92acab curly_quotes now considers EM_DASH to be a space, so it uses an open quote after it.
Fixes #33

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1449 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:23:57 +00:00
twanvl f8c7961c03 trim filenames, apparently writing a file "some card " is not possible on windows, it drops the trailing space.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1448 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 18:06:54 +00:00
twanvl 07d4e8619b gif export is not supported by wxWidgets
This 'fixes' #18 by just removing the option to export .gif files

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1447 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 17:35:59 +00:00
twanvl 70fb9d612b Fix #19: Colon in Name Prevents Opening Save Dialog
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1446 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 17:12:49 +00:00
twanvl 4bdd0d5c01 perhaps "orelse" is better syntax then "or else"?
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1445 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 16:50:39 +00:00
twanvl a6198ddf1b correct scope handling for closures, this was broken after the change to not make calls open a scope.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1444 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 16:35:23 +00:00
twanvl 51dfed69b4 Instead of the new_intrusive<T>() functions, use intrusive(new T)
This means we no longer need 8 different functions for different numbers of arguments, and non-const references can now also be passed to constructors without problems.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1443 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 14:32:28 +00:00
twanvl 8800500d86 minor code formating things
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1442 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 13:29:20 +00:00
twanvl 35f5de2800 compatibility with older wxWidgets versions
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1441 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-07-21 13:20:24 +00:00
coppro 80f815b9ce Make to_title work correctly; patch thanks to Shiv2503.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1440 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-04-14 22:33:43 +00:00
coppro 85854b1bd2 Fix warnings
Semi-fix bug #6 (does not work if the zipfile was loaded from a directory)


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1439 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-04 01:46:04 +00:00
coppro cf91f9c43b Update copryright date to 2010.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1438 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-01 23:33:25 +00:00
coppro f3ec82706e Wrong quotes lead to issues.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1437 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-03-01 22:44:35 +00:00
coppro 4c1c750f05 Set svn:eol-style on all style files that were missing it
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1436 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-01-20 03:32:21 +00:00
coppro 81c6fb87cd More updates to build system
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1435 0fc631ac-6414-0410-93d0-97cfa31319b6
2010-01-20 03:19:57 +00:00
coppro c0ce05a341 Fixed some major build system flaws
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1434 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-12-11 03:44:20 +00:00
coppro 47aa7ce923 Rename 'cannocial_name_form' to 'canonical_name_form'
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1433 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-12-04 06:04:57 +00:00
coppro 46111fcbad Build system improvements
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1432 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-12-04 06:02:06 +00:00
coppro b561e22476 Fix crash when dragging card list past end.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1431 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-11-25 06:30:07 +00:00
coppro 20c231e31d Fix debugging typo
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1430 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-11-25 06:03:30 +00:00
coppro 16951810f9 Fixed count on dictionary file.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1429 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-11-23 08:18:47 +00:00
coppro 5a8f8e8d70 Following a fine MSE tradition of forgetting to svn add new files.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1428 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-09-28 23:02:54 +00:00
coppro f2d6714da9 (sorry for making this all one commit)
Fiddled with the backbone for scripts some more.
VCS are now suppported in sets but configuration/non-svn-systems missing
Linux build now uses precompiled headers (build time--)
A couple warning fixes too.


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1427 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-09-16 23:40:44 +00:00
coppro 9343e48280 Configure now allows selection of debugging.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1426 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-09-07 01:20:20 +00:00
pichoro 8d33f63d87 Fixing a little boo-boo in planes. Forgot to define inverted common symbol variation.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1425 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-12 04:00:59 +00:00
pichoro 0858e1a41c Adding planechase game file, for plane type cards.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1424 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-11 22:12:16 +00:00
pichoro bbc536fe26 Adding chaos symbols to Vanguard.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1423 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-11 22:10:31 +00:00
pichoro d59f4c4305 Adding chaos symbol to mana fonts - set to "C".
Magic-mana-future updates by Shiv2503.
Also, changing how curly quotes are handled until curly_quotes is better.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1422 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-11 22:09:22 +00:00
pichoro 534faeebcb Adding magic-new-textless-land template.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1421 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-11 22:06:06 +00:00
pichoro 722252fe8c Update to Yugioh
- Better typeline system.
- Moved text replacements out of scripts and into auto_replace file.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1420 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-08 15:40:52 +00:00
pichoro fe81a40617 Yugioh Template Update Courtesy of artfreakwiu.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1419 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-08 14:47:53 +00:00
coppro 5263c7e7f0 Added I_TAILCALL to dependency analysis.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1418 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-02 01:43:52 +00:00
coppro 79b18c1e72 Script cleanup for standards-compliance (not going out of bounds on vectors).
I_POP is no longer considered a binary instruction because all other binary instructions expect the stack to have at least two elements - adding a manual check is kludgy
Added I_TAILCALL to accomodate indended optimizations



git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1417 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-02 01:30:59 +00:00
coppro 7af4cd4bd0 Lots of miscellaneous fixes, also added basic VCS framework
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1416 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-01 22:34:04 +00:00
coppro 3d7f0ea70f Improved the Linux installer.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1415 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-08-01 19:13:05 +00:00
coppro ab37336db3 Moved X.png to lowercase for case-sensitive names (this should really be dealt with in the program)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1414 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-07-31 08:11:02 +00:00
pichoro a34da1949a Fixing an error relating needing to type two characters to get 1 character on non-character cards in VS.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1413 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-07-25 12:52:46 +00:00
pichoro 667d713db8 Futureshift styles should be defaulting to non-shifted sorting.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1412 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-07-23 22:17:56 +00:00
pichoro 4e18bd3e89 Oops. Made some mistakes with some defaults I just added.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1411 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-07-23 15:41:37 +00:00
pichoro f9885269fc Adding some more planeswalker related fields to allow for more custom templates, like flip planeswalkers.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1410 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-07-23 15:21:14 +00:00
pichoro c6e35d142d Adding Brazilian Portguese translation by Luciano de Silva.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1409 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-07-23 14:59:25 +00:00
pichoro 9986d2225f More Magic words in dictionary.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1408 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-07-20 14:46:04 +00:00
pichoro 9d79b5ba0a Fixing split second RT in Magic and Vanguard.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1407 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-07-20 14:45:24 +00:00
pichoro b6eeb655ea Removing an unneeded dependancy from magic-new-token.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1406 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-07-20 14:44:29 +00:00
pichoro d6ad190c10 Curly apostrophes in keywords for Magic and Vanguard.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1405 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-07-11 13:53:56 +00:00