- Fixed layout issues causing truncated labels.
- Changed "Git rev" field to "SVN rev." field.
- Added "Steps to Reproduce" field.
- Check Summary and Description fields for valid data, Error Message Dialog if not.
- Attempt to match Build Version with Mantis version list.
- Populate SVN rev. field with revision if available.
- If crash report, relabel "Additional Information" field as "Error Dump" and auto-select category "New Crash Report".
- Fix log4j warning.
- Fix close and Cancel buttons not terminating window.
Problem was due to inability to deserialize display_new_layout.xml. I changed that file's default serializer to XStream. This fix maintains compatibility with existing display_new_layout.xml when possible, and uses an XStream-generated display_layout.xml when it cannot parse the former.
Note this updates the default display_layout.xml, which looks OK under Windows XP with resolution 1024x768.
Bug: 144
GameInfo is renamed to GameSummary and is now an observer for game state. It's purpose is now to hold statistic data on game and actions performed by players. The former functionality moved to ColorChanger and Phase (all combat damage prevention due to Fog spell). Since then game turns calculation is done properly (no need to add/substract 1)
Total cleanup at Gui_WinLose, removed all references to global objects for quest and match-related entites.
Some of quest rewards calculations use now special functions in QuestData class.
Tracking of win and lose conditions refactored (see Player and Upkeep classes)
* Updated the default display_layout.xml to look good on a Windows XP 1024x768 display.
* Updated GuiDisplay4.java to load from default layout if user's "new" layout does not exist.
* We have not had display_new_layout.xml in the repository for some time, but that is a related change.
Bug: 117
-Tapped = If this is True,well... the card is tapped, ofc.
-SummonSick = If this is True, the card has Summoning Sickness.
-Counters = A comma-separated list of counters on the card.
-Morphed = If this is True, the card is facedown. (It must have the morph keyword for this to work)
-Set = Like you previously set SetCode.If absent, the latest printing is used.
Ex. "AICardsInPlay=Aphetto Alchemist|Set:ONS|Tapped:True|SummonSick:True|Counters:P1P1,P1P1,M0M2|Morphed:True; Memnite"
* Moved most of forge.view.swing.Main.main's code into forge.model.FModel and forge.view.swing.ApplicationView.
* Tested and seems to work OK.
* Reduced Checkstyle, FindBugs, and PMD output in all changed files.