Commit Graph

848 Commits

Author SHA1 Message Date
coppro 87b45df71d Updated linux installer; minor semantic bug affecting 64-bit builds
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1373 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-03-02 23:29:38 +00:00
coppro dc26e1f00a New 'show spelling errors' option in the preferences window.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1372 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-02-06 03:27:20 +00:00
coppro 4e772d14da Fixed install script and set selection window crash.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1366 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-18 04:00:50 +00:00
twanvl c767b6969d fix for non Unicode build; why won't it die already?
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1364 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-15 22:59:40 +00:00
twanvl f24806a4de always call the combine function when expanding keywords
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1358 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-15 22:10:58 +00:00
twanvl a3a701d2dd re-added return statement
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1356 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-15 14:47:50 +00:00
twanvl ba15bd1171 disable profiler in windows release builds
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1355 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-15 14:22:10 +00:00
coppro 30671ad5b0 Fixed a bunch of linker errors preventing optimized compile on Linux.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1352 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-14 19:13:05 +00:00
twanvl 0bc1c1af30 show version number on welcome screen
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1351 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 22:18:42 +00:00
twanvl ad5e22e7c5 Added script support for wxDateTime values:
- added ScriptDateTime type
 - added to_date function
 - added date formating support to to_string.
 - documented all of the above.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1348 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 16:52:07 +00:00
twanvl ba4672b0b2 Support for english_number_a/process_english_hints to detect when "a" should be "an".
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1346 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 03:07:27 +00:00
twanvl eaf5e9bef2 keywords from the set file take precedence over keywords from the game file
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1344 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 02:17:31 +00:00
twanvl 8b9c2b4064 while it is still possible: renamed select:cyclic to select:equal.
Added "equal proportional" and "equal nonempty" for symmetry.
select:equal now takes weights into account.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1342 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 01:36:17 +00:00
twanvl c8dd777bca EnumReader now warns about the correct string,
parse_enum function throws if the string can not be parsed

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1341 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-11 00:45:21 +00:00
twanvl ac6b8f77ac while there is still time to make changes to the file format: s/probability/weight/
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1338 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 20:22:11 +00:00
twanvl 4200e4ae0a made isComplex() function cope with the looping of the IMPLEMENT_REFLECTION function
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1337 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 20:21:14 +00:00
twanvl 37ea36005d free spelling suggestion list from hunspell
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1336 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 14:44:45 +00:00
twanvl 18730641db fixed spelling correction popup when there is no extra dictionary
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1335 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 14:39:29 +00:00
twanvl 3d7367fc9d don't ignore line.top when aligning text
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1333 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 14:13:20 +00:00
twanvl c98f8245d8 init pack total control before setting sizer, so CustomPackDialog gets the right size
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1332 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 02:45:18 +00:00
twanvl c7c028b026 fixed: version number propagates to included files
magic pack template now uses 'pack type' instead of 'pack item'

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1331 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 02:43:15 +00:00
twanvl 30d3343a2c check for duplicate pack names
don't allow a new pack to be 'removed'

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1330 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 01:55:31 +00:00
twanvl 1b90f0666c fixed bug: empty OptionalScript were saved as empty string, causing parse error when reading.
custom pack types can now be removed again.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1329 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 01:47:50 +00:00
twanvl e3cdb2bea7 adding & editing custom pack types now works.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1328 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 01:37:03 +00:00
twanvl d3922cb59d make pack type labels clickable (based on HoverButton).
use set_help_text instead of the previous thing in SetWindow.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1327 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 00:34:54 +00:00
twanvl 2bc3e78134 tweaks to set_help_text
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1326 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 00:33:43 +00:00
twanvl 0a26e17de8 set_help_text function to add status bar help texts to any window
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1325 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-10 00:15:06 +00:00
twanvl ad415f655f change the time_modified of cards in actions, and restore it on undo
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1324 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 20:02:58 +00:00
twanvl eba29d38e7 don't merge actions that have been undone before, for example:
typing1 Ctrl+Z Ctrl+Y typing2 Ctrl+Z
removes just typing2, not both.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1323 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 20:02:21 +00:00
twanvl c338444e43 The writer now writes less unused blocks, especially for unused DelayedIndexMaps
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1322 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 19:39:22 +00:00
twanvl 4fde933a11 added time_created and time_modified to Card. This changes the file format
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1321 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 19:07:14 +00:00
twanvl 2dab839906 tweak: slightly less dark lines in graph
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1320 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 16:24:52 +00:00
twanvl f8f112d240 left align text in package list if it doesn't fit, so we only cut of the end
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1319 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 15:59:50 +00:00
twanvl 6fdb7f92b1 Added CustomPackDialog for user constructed PackTypes.
There is no UI for using these custom types yet.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1318 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 15:43:15 +00:00
twanvl 392e4d854b don't pass requested_copies again, that would result in n^2 cards
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1316 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 03:02:52 +00:00
twanvl 583c1384c2 use gen() instead of rand()
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1315 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 02:56:14 +00:00
twanvl 689f5dfd3a fixed tag eating and text duplication in spellchecker
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1314 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 02:43:35 +00:00
twanvl 559a6ce1d8 - fixed SELECT_FIRST behavior: 0 >= 0
- added DoGetBestSize to PackTotalsPanel, so the text always fits

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1313 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 02:22:43 +00:00
twanvl 7d1bb77163 tweaks to compact reading with tag.isComplex(): no longer requires that many hacks
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1312 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 02:03:24 +00:00
twanvl 432cdcd583 mostly backwards compatibility with old pack system, uses boost tribool
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1311 0fc631ac-6414-0410-93d0-97cfa31319b6
2009-01-09 00:49:14 +00:00
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 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 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