From: Brett L. <wak...@us...> - 2011-07-17 19:35:20
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "UNNAMED PROJECT". The annotated tag, v1.0.5 has been created at b2dce15d45026edd3c87f92b4cfd483cd7658977 (tag) tagging 9e8ed228d16e07e67ff6b44f9f5ec5887c57ef1c (commit) tagged by Brett Lentz on Sun Jul 17 12:31:07 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.0.5 Brett Lentz (239): initial checkin initial checkin initial checkin This commit was generated by cvs2svn to compensate for changes in r6, which Removing files that were accidentally uploaded. Convert arrays to ArrayLists Adding Erik Vos' changes Adding framework for test cases Test structure for stock market UI Object Model from Stewart Thain Updated obect model from Stewart Thain Test class for swing-based stock chart UI Added test for displaying test stockchart swing class Merging Erik Vos' updates Adding Iain Adams' DOM libraries Minor tweaks More testing out Swing Rudimentary chit definitions Merging Erik Vos' updates Added explicit licensing information New UI Tests Merging update from Erik Vos Merged updates Fixed formatting Merging updates from Erik Vos Merging Iain Adams' changes. Merging Iain Adams' Changes Merging Iain Adams' changes Updated StockChart to use data from game/StockChart Merging updates Merging Iain Adams' files. Stockmarket now does color! StockChart does colors! Fixed Stock Chart to display correct values Bug Fixes. Market should display 100% correctly now. Changed color from int to String Merging Erik's updates Merging Erik's updates. Merging Erik's updates Merging Erik's updates from 3/20. Merging Erik's changes of 3/20. Removing files that are outside the scope of this project Added StockChit code; Removed usage of interfaces as objects; fixed a few bugs. Reverting to previous copy Initial working stockchit code. Tokens now drawn using both colors Clean up the token displaying. Renamed StockChit to StockToken; Added CompanyStatus Added Listeners to start supporting basic token movement (not finished yet); Fully Working Stock Token Movement Initial code for displaying Player Status Bug fix in Stock Token display Initial support for new game options Minor bugfix. Added test class for initializing the game. UI Tweaks; Improved GameInit Screen Renamed GameInit to Options; Fixed Player name display support. Minor Token Placement Fix Major performance bug fixed; other minor tweaks here and there; *** empty log message *** Lots of UI updates Added UI to create companies Company Purchasing UI updates Game and Bank are now static; GameLoder renamed to GameUILoader Added PlayerManager, fixed a bug in Portfolio, added buying and selling stock to Player Changed Stock to Certificate in StockMarket.java Beginnings of CertificateStatus seperated game status info into its own window. Initial UI code for buying any stock Improved StatusWindow display; Added GetNextAvailableCertificate method to Portfolio Improved UI behavior; Fixed many calculation bugs. Added ability to sell shares. Fixed "StartCompany transfers too much money" bug Initial Hex draing files taken from colossus.sf.net Added stock pools to CompanyStatus; Added Token movement for stock sale. Hex files from Colossus Initial HexMap main() for testing Initial Auction Window. minor tweaks to get StartRoundWindow to display correctly Cleaned out colossus-specific code. Remove debugging console output. Add missing pieces to Hex test display More HexTest Code Hex display fixes. *** empty log message *** Initial stab at Map.XML Added Tile Colors for towns. Added </Map> Tag. Create initial stab at NS and EW oriented hexes. Tweaks to the hex layout Minor tweaks to hex layout E-W hexes now displaying correctly. Reorganizing code from Oriented-HexMap into HexMap class Fixed repaint bug First stab at Tileset definitions. Adding Batik libraries *** empty log message *** Added some basic math reminders. initial tile image support Tile images kinda sorta work. Almost. Commented out work-in-progress code. Minor UI adjustments mostly working map tiles map tile images added transparency Transparent GIFs work better than PNGs GIF works better than PNG Tweaks to tile loading First stab at clickable map. adding loading orientation from xml Interactivity broken, orientation fixed. Interactivity fixed, rotation bugs exist. setClip() to fix bounds box issues. Adding Scale class from Colossus source tree. NS Tile images working. Other minor cleanups as well. Tile Display Updates New tiles for 18AL and 1856 Added Mnemonics to all buttons. Added basic menu to Map. small UI updates. small UI updates. Resized the options window. Removed old code from start round window UI Cleanups. Moved drop-down menu to StatusWindow. Added selectors to draw specific windows. No longer drawing all windows. Scrolling MapWindow Fully working scrollbars on the map. small UI updates. Twiddling the menu checkboxes for consistency using drawOverlay() works. rotation and repainting is broken. Fixed rotation. Still a ton of repaint bugs. Fix problem with Scale by explicitly setting Scale in MapWindow A bunch of cleanups. Lots of comments added to help track down repaint bugs. Minor code cleanups. Added more mnemonics. Added lots of JavaDoc comments Added more JavaDoc comments Minor UI behavior updates. Adding more debugging code and comments for the paint bugs. Fixed repaint issues by using ScrollPane instead of JScrollPane adjusted repainting behavior of mouseClicked Defaulting useOverlay and useAntialias to true. Modifications to UpgradesPanel and classes touched by the UP. Disabled overlays due to clipping issues. UpgradesPanel mostly works. Fixed repaint and scrolling bugs. FINALLY. UpgradesPanel populates correctly now. Display Tile graphic in upgrades panel. basic functionality for laying tiles works. Adding upgrade cost and company home designations to the map. Add Company Destination to tooltips Fixed StatusWindow checkbox bug Tile laying only allowed during Operating Round Adding initial TokenHolder code. Added More Token Laying Code. Properly decrement numCityTokens after laying a token Move home token laying to a more sane location First stab at token laying More token laying code Adjusting the visibility of some methods Removing some unnecessary comments. Bugfixing token placement. Added station size checking before token laying Adding tokens to the hex AND company token lists. Token Laying bug fix. Other minor cleanups as well. Updated tile images. Some orientations rotated. More token drawing positions Bug fixes. Slightly improved token adjustments. Fixed moving tokens when tiles are upgraded. One-liner moveToken fix. Added size checking for addToken Adding size checking for token laying Updated highlighting clicked hexes logic. initial UI for prompting user about token placement added a toString method Added checking for existing company token. Displaying blocked hexes on the map. Fix station selection bug. Improve drawing location of tokens. Merging ORWindow and MapWindow. Map Window Display Update ORWindow display bugfix String cleanups. Window display bug fixed. Fixed move tokens bug. Preparing for end game. Changed addCash to return a boolean. Removing ORWindow dependancies. Finished removing ORWindow dependancies Fix invalid cast and reworking StockChart Code clean ups. Restore some update methods String abstraction and Bug fixing in ORWindow and ORPanel Fixed transition to SR from OR. Fixed ORPanel repainting. Fixed hex selection bug. Added AUTHORS SVG Tiles Fixing the SVG images and changing loader from gif to svg Fixing the SVG images and changing loader from gif to svg Added fallback to GIF. SVG tiles for 18KAAS Gif tiles for 18KAAS Added ScrollPane to UpgradesPanel Fix UpgradesPanel button inconsistency. Fixed ArrayOutOfBoundsException being thrown. Improved localization support. Moved a large number of strings to LocalisedText.properties Improved localization support. Moved a large number of strings to LocalisedText.properties Disabled load/save UI buttons to reduce confusion. Added Tiles for 1835 Changed variant popup into checkboxes in options UI. Reverting previous changes Move creation of ImageLoader to GameUILoader, improved image caching Clean up Imageloader Commenting out the servlet classes so that they no longer show compiler errors. Slight adjustments to image's vertical sizing. Slight adjustments to image's vertical sizing. Slight adjustments to image's vertical sizing. Adjusted image scaling to improve quality of displayed tiles. Allow game to operate even if we can't find my.properties or LocalisedText Fixing GIF tile sizing Centralised the jar filename to a single location. Fixed setMnemonic typo. Improved mnemonics. Moving log4j into it's own subdirectory. Update log4j to use a relative path set DefaultCloseOperation to DISPOSE_ON_CLOSE Exiting after "Unable to load game" error. Migration to use ResourceLoader Removed 1830test Migration to use ResourceLoader Finishing migration to ResourceLoader New tiles for 18AL and 1851 Remove Windows-specific reference Remove old commented-out code Renamed Options to GameSetupWindow Merged FinishSetup() into StartNewGame() Add dynamic resizing to player name text boxes. Fixed window sizing issues across all window components. Fixed missing null checking on game start Added game notes button. First, incomplete map for 18EU Improving the text on the Game Options button. Stockmarket and Tileset XML files for 18EU Adding 18EU Tile images. Added SerialNumbers Version string bump. Applied patch from Micha? Ba?y?ski Bump version string. Erik Vos (358): Standard project directories initialized by cvs2svn. Certificates added Updated Added New classes/interfaces Was hard to get in... Moved here from game.test Adapted to changed Game initiation New method that returns integer attribute value Added a few dropped I's (interface) to names *** empty log message *** Updates to configure Bank amount. This required some rearrangements. Added Bank Added Certificates and Bank Implemented initial player cash Added Player (initial cash, cert.limit) Added use of Color objects All colours now as hex values Changes to get Hex colour values Now gets Color objects from Company Removed (?) Fixed colour->Colour (again?) Mostly Javadoc Removed some outcommented code Javadoc .start replaced by .setParPrice (duplicate methods) Adapted to new Player without the player list :-( To make it work with Java 1.4 PublicCompany now has shareUnit, and Certificates has shares. New share values Added ".getContentPane()" to make it Java 1.4-compatible. No differences Initial versions of Round and StockRound, and related changes StockRound finalised (more or less) Changes caused by implementation of OperatingRound StockRound interface now uses Strings for names rather than objects Added GameManager (initial version), Bank.format() etc. Renamed Certificate(I) to PublicCertificate(I) Renamed from Certificate(I) Added StartRound_1830. Lots of changes to other classes. Fixes and minor additions Fixes, and implemented SVRR price reduction if unsold CompositeOrNumber now returned as String (was double) Float percentage added Added getGames() method Block cash used in bidding. Minor cleanup Mainly Javadoc Use Game.getGames() Added pool share limit Minor changes, fix for share selling bug *** empty log message *** StockRound extended: presidency changes, partial handling of double shares. Privates can now be closed in an Operating Round Added 1835 (3 variants). Implemented auction in StartRound1830 StartRound cleanups & fixes New UI, with functionality as in TestGameServlet - UI cleanup Basic maps for 1830 and 1856 The Tile Dictionary converted to Tiles.xml Fixes Tiles set for 1830 Added Tiles.xml for 1856. Small comment update Added 1870 map & tiles. Added Trains Removed old code *** empty log message *** Added orientation to 1830 map *** empty log message *** Added orientation code 1870 map corrected Added orientations *** empty log message *** 18AL map fixes *** empty log message *** Failed attempts to enable tooltips on the map Rotations now properly derived from PI Frist Diesel exchange implemented Outcommented setPreferredSize() Neighbour setting in MapHex Basic implementation of phases, including train limits. Removed unused imports. Hexmap code cleanup. Bugfix Added private closing on first train buy Added comment on orientation numbers. IMplemented impassable hexsides Added preprinted track impassable hex side detection. Added map tooltips per hex/tile. Panel for upgrade tiles in MapWindow Removed redundant method getMapHexModel() *** empty log message *** *** empty log message *** Fix map size and positioning *** empty log message *** *** empty log message *** *** empty log message *** *** empty log message *** Cleanup and improvements, phase 1 Cleanup and improve, phase 2 Only valid tile orientations now allowed. Fixed rotation: no more adjustments. Cleanups phase 3. Fixed tooltip Minor improvements Tile laying integration phase 1 Tile laying integration phase 2. Basic Help system added Help window using JEditorPane Private special properties phase 1 Special properties phase 2 Special tile lays for 1830 completed OR updates Granular Model/View phase 1 Granular model/view,phase 2 *** empty log message *** Token laying step - phase 1 Base token laying phase 2 base token laying phase 3 & other small improvements Fixes and small improvements. Added city positions to Tiles.xml. Minor changes Tile quantity observed. Corrected 1830 tile orientations Preserve track (except OO). NoTile/Token texts in upgrade panel Correct number of ORs per SR Number of ORs per SR Close privates at first 5-train. Fixed special tile laying. Fixed special tile laying bug. Added token cost info to other games than 1830. Added static getLastORNUmber() Always show price & loacation on stock chart Reorder companies in a 2nd and 3rd OR Fixed bug in assignment number of ORs per SR Buy at par price from IPO (was: all at current price) Fixed off-by-one error in getTrainLimit Fixed checking buying shares that have been sold in the same round. M&H-NYC swap New message panel in ORWindow, with localised messages. *** empty log message *** Game end (maybe not yet complete) *** empty log message *** Fix Lots of minor fixes, mostly to get OR display correct again. Updated stock chart so that only changed squares are updated Granular Model/View for LastRevenue Fixes to D train exchange and 4-train rusting. Enabled reading files from the jar ORPanel/OperatingRound cooperation for train buying changed to move the game decisions to the Model. buyTrain: lookup train for selected prompt rather than parse it. Added coordinates Added president help in buying trains, including selling shares in an ShareSellingRound. Implemented TradeableCertificates for buying. Make GameStatus aware of sellable certificates. Game end implementation. Add "Close all windows" button after game end. Several fixes Implemented 18Kaas *** empty log message *** Fixed share trading bugs. Mark President in Game Status window. Fixed available tile counting Fixed bug with tile laying at cost with no money (bug 1517705) Fixed tile- and tokenlaying related bugs (wrong repainting of UpgradesPanel) Train buying fixes Train buying improvements Added localisation strings with parameters using MessageFormat Remove "Buy Private" button if nothing to buy First basic Action/Undo classes Added basic Undo for stock trading. Not all side effects covered yet! Extended Undo to cover all Stock Round actions, except turn change. Improved log messages Added Redo Upgraded StartRound View/Model interface to work similar to stock rounds. Fixed capitalisation. Added exchange shares Remove default certs if company-specific certs are defined 1835 map Changed home base token management such that one tile can contain multiple home bases in multiple stations (cities). Fixed token laying. 1835 majors can now lay 2 yellow tiles in the yellow phase. Off-board revenue values in tooltips. Added private special properties (tile and token lays). Added red message about active special properties to the Map Window. Renamed game.action package to game.move, and Action to MoveSet. Implemented "PossibleAction" for private buying. Fixed special tile lays in 1830. Fixed extra tile laying message in 1830. Some cleanups. Added XML option to make owning a train optional (for minors as in 1835) *** empty log message *** Token laying now uses LayToken allowance objects. Special properties for condition "ifOwnedByPlayer" (as in 1835) now work. Cleanup in localised text. Localised tooltips More localisation cleanups Implemented Undo/Redo for tile lays. Added tokens display to GameStatus and ORPanel. Implemented undo/redo for token lays. Added check that a company cannot lay tokens twice on one hex. Implemented Undo/Redo for the OR revenue entry and payout steps. Imports cleaned up All user messages in OperatingRound are now localised. 1870 fixes Detect absence of stations while laying tokens Some tile-laying related fixes. Added log4j logging and applied to ImageLoader only. System.out.print replaced by log4j logging. Simplified my.properties. Some StartRound fixes, more localisations, and cosmetic changes Added some config items to my,properties. Moved version-string from LocalText to Game. Package names changed (rails prepended) Remove corrupt jars Improved Undo/Redo, mainly in the OR. MoveSet.add() calls moved down into Move subclasses Minor changes Start Round processing updated: Applied parametrized collections to resolve most Java 1.5 warnings. More generics and for/in loops More generics and for/in loops Restructured StockRound View/Model interface to use new PossibleAction subclass objects. Bug fixes and minor improvements to the StockRound overhaul. Fixed bug (ClassCastException when clicking Map checkbox) Cleanup Fix: put only slash after tileRootDir if it has a value OR using PossibleAction object for execution. Removed redundant classes. Removed redundant classes. Undo/Redo completed. Cleanup Save/Load. Fixed bug: laid tiles not shown after Load. Fixed bug: No payout options shown after Set Revenue Fixed more bugs Bugs fixed. new SerialVersionUID because of changes Added playability comments to game list in Options. Added Game Options, allowing conditional attributes (see example in 1830/Game.xml). Also used to replace Variant choices. Integrated game option setting into the Options window. Preparations for adding Bonus Tokens, as in 18AL, 1856 etc. Streamlined Game startup interface. Cleaned up old code & added $Header where missing Used new Tag class everywhere. XmlUtils removed. Added description for 1830 Fix: "revenue" changed to "value" All 'name' atributes of tiles>0 are now numeric All tiles with id > 0 now have a numeric name 18EU tiles added Added (includes 18EU) Updated including all tiles now. Added Updated for implementation of Lumber Terminal Updated mainly for 18AL special properties. Lumber Terminal now works. Some fixes too. Added 18EU Added Updated Fixes Allowed default colour per company type (used for minor) Improved Colours Name correction Implemented 18AL bonus token. Bonus Token Removal (18AL) Implemented 18AL Named Trains. Require new tiles to be connected (except home bases and special lays). Fix: tile lay check only applies to yellow tiles Added 18AL train naming by using NDY private. Implemented 18AL destination bonus Updated game 1830 and 18AL descriptions Connection check bug fixed Fixed bug in handling par price setting for President's shares coming with a private. 1851 - partial implementation Fixed special green upgrade in Montgomery. Improved tile rotation validity checking: preserve old tracks (except OO cities). Minor changes & cleanups 1851 almost completed 1851 completed. Added bidding parameters Fixed 18EU description Removed redundant base prices Minor changes, related to the 18EU start round implementation. BuyOrBidStartItem renamed tp StartItemAction and subclassed with separate BuyStartItem and BidStartItem classes. resetOption() added Added boolean allowNegative Minor changes caused by 18EU start round implementation Added Minor changes (if any at all) Changes to accomodate the 18EU start round New entries for 18EU start round Added setBit and bitSet Fixed Berlin/Vienna yellow tile Completed -10 to 201,202 upgrade locations Fixed Budapest (was plain) Added initial 2-trains Added <StockRound> Formatting and minor changes More 18EU aspects Added moveObjects() to move the contents of a list without incurring ConcurrentModificationExceptions Added More 18EU aspects Fixes Reorganised to get all tile-laying related items under <LayTiles> Fixed bug: trains could not be traded Fixed tile -939 to become an Off-Map city tile. The "internal" (XML) representation now differs from the "external" (visible) version. Removed getBaseTokenLayCostBySequence. The functionality has been moved to PublicCompanyI. Removed getBaseTokenLayCostBySequence(). The functionality has been moved to PublicCompany. TokenLay cost now obtained from PublicCompany (previously from CompanyManager) Added "whenStarted" as an option to lay home base token. Fix: set the minors to "started"when bought Use larger font if the name is shorter than 4 characters Hide spinner when revenue is set. Fixed bug that prevented tiles to be laid where internal and external IDs were different. Added new inner class HexImage for that purpose. Fixes and additions Using Util.moveObjects() Added getCompanyByName() Added getCurrentTrainLimit() Added getCurrentTrainLimit() Added stubs: setGameSpecificActions() and processGameSpecificActions() New Added U (unfloated) indicator Added setGameSpecificActions() and processGameSpecificActions() Changes for 18EU Added handling for MergeCompanies Added lines for 18EU Formatting only Upgraded 18EU to "partly playable" Fixed Undo problem in 18EU Implemented 18EU Pullmann train buying and discarding Corrected city locations Added split revenue option Corrected city numbers Added some for 18EU Changed "corner" location codes on behalf of correct token position calculation. New code for token position calculation Improved rotation checking for city tiles. Formatting only Stations -> Cities Phase 5 company start (unfinished) Changes for 18EU, incl. better token positioning on tile upgrades Added city names for use in tooltips and home base selection (18EU) City names Nothing material 1835 tile laying fixes Completed 18EU Fixed some 1835 tiles Remove duplicate tokens when cities merge Small rearrangement Move cash and certificate transfers on floating from PublicCompany to Round Few new entries Added comment for 18EU Added generic facility to allow multiple upgrade costs. Commented multiple upgrade cost values Fixed format errors Also display upgrade cost on laid tiles This commit was manufactured by cvs2svn to create tag 'v1_0_5'. ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |