You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
(2) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(15) |
Aug
|
Sep
(3) |
Oct
(1) |
Nov
(3) |
Dec
(1) |
2012 |
Jan
(1) |
Feb
(2) |
Mar
(1) |
Apr
(4) |
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
|
Sep
(2) |
Oct
(2) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(1) |
Dec
(1) |
2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
From: Brett L. <wak...@us...> - 2011-07-17 19:36:24
|
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.3.0 has been created at 55ba781d202dde538978ad0390ff7ab7f4b8b990 (tag) tagging 236c01f05659bbbd2b063acd13fd1d14c7314f01 (commit) tagged by Brett Lentz on Sun Jul 17 12:28:00 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.3.0 Brett Lentz (262): 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. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add syncmail to commits mailing list. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 bump version to 1.1.1 update version string to 1.1.2 Apply Unlimited Trains patch from Freek Dijkstra <sf_...@ma...> Revert Freek Dijkstra's unlimited trains patch. We found a simpler way to implement this. Add unlimited tiles option back in. Bump version strings to 1.1.3 Apply patches from Stefan Frey <ste...@we...> to implement 1889. Commit CompanyManager updates for 1851, 1870, and 18EU from Phil Davies <de...@gm...>. Update files with version number 1.2 bump version to 1.2.1 bump version numbers to 1.2.2 Bump version strings to 1.3 Erik Vos (901): 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 Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round Implemented request to show low-price colours in SR and OR panels. Changed minor token BG colour to light gray (to better distinguish from empty circles) Addes larger token font for short names (1 or 2 chars) Draw company names in their home cities rather than on the hex. Replaced track by pointy triangles in off-board tiles Map made zoomable. Removed Reproduced SVG tiles from TileDesigner. Removed GIF tiles Changed orientation of tile #4 to get the village right New SVG tile production. Some updates Adapted code for correct working with new set of SVG tiles. Better positioning and sizing of tokens and home indicators Fixed price token display Moved stepObject creation backwards to OR start() Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play. Fixed a misnamed constant. Fixed bonus token position on hex Formatting only Explicitly remove tiles at start of token mode (although that should have happened earlier). Unclear why that doesn't work. The disappearance of the tiles when another one is selected remains a mystery. Fixed disappearance of tiles if a selected and dropped tile is changed. Fixed wrong $1 token cost display when merging 2nd etc. minot into major. Fixed cert.limits for 3 and 5 players (which were swapped) Described 1856 limitation Added 2 chars of name to View string if no locations exist Fixed moving unsold Bridge/Tunnel tokens to GM/Bank Set seller of unsold Bridge/Tunnel tokens to Bank Fixed message text Removed option to select "common" actions in case of forced actions (i.e. a train discard). Minor cleanup Fixed in 1856: Some restructuring New tool (unfinished) Added Save, Load and Trim menu items Added equals() Prevent CGR getting more than 1 bonus of the same type (e.g. Bridge) Added option to undo setting to exercised (this is not actually used now) Added log message related to Bonus tokens Fixed bookkeeping on sold bonus tokens, in particular in relation to dropping duplicate tokens acquired by the CGR Clear display buffer after reload Minor cleanup 1856: allowing unlimited Bridge/Tunnel bonus tokens as a game option Fixed bug where CGR would in case of excess trains discard all 4-trains, in stead Cleanup help message at end of OR. Offboard value display made special throughout. Map is now visible during CGR formation (but the dialogs are still modal) Fix null "reached destination" created on an empty response. Added mayBuyTrainType() to fix incorrect 4-train buy option for 1856 CGR. Added a financials report to the end of each round. Bring ORWindow to front at certain actions Added "Has" and fixed second Select to SelectSomething fixed Select to SelectSomething Minor change Repack status window at start of switchableRound because for some reason it squeezes a that time. Added a precaution A null Destinations action is no longer sent to the server. Expose closedModel. Remove unused closed attribute. Added fixed text facility (used for "MERGE"in 1856) Set fixed text "MERGE" into loans model for merging companies Added getUpdate() to enable use as ModelObject. Added MERGE Added facility to hide closed company rows via a nested class RowVisibility Call update when object is set. Catch an unexpected error condition - to be sorted out later Removed unnecessary update() call Fix row visibility Minor cleanup Always allow SAVE Always add SAVE Permanently enable SAVE DiscardTrains was not handled after Load Both Game Status and OR/Map windows now hide closed company rows. Cleaned up imports Created common superclass GridPanel for GameStatus and ORPanel to abstract common features. Player worth is now recalculated at every certificate move (bug fix) Created non-modal version of CheckBoxDialog and a method to deal with such dialogs in the UI Managers. Added value 10 to tile #4 Added joinWithDelimiter Added messages for checkbox dialog Added nonmodal RadioButtonDialog2 and apply to Repay Loans Renamed some interfaces Renamed some interfaces Added missing company name parameter to repay loans display text Fixed phase-dependent revenues on non-offboard (red) hexes. More dialogs made modal Renamed New classes for the server-to-client communication Removed because unused Changes related to non-modal dialogs Fixed and added alwaysOnTop() Added alwaysOnTop() Added dependents to propagate updates Fixed company turn change issue Propagate row invisibility to ClickButtons Reworked updateUI() for use of GuiHints Defs->GuiDef name change Added missing SelectedHomeBase Fixed SelectedHomeBase message Abstracted some variables into methods, taking info from GameUIManager Changed comment Added GUIHInts Empties (may get redundant) Added GUIHints Added GUIHints Added some generic getters. Changes some unnecessary class attributes into local variables Added some generic getters. Use of GuiDef and GameDef New class, for game-engine parameter definitions Added '+' to version number to indicate experimental version Set game parameters in stead of some local variables Added orientation to a laid tile in the Game Report Fixed price typo Fixed missing upgrades Added getGameOptions() Moved comments on game options from 1830/Game.xml to here Changes structure of GameManager XML Moved various non-changing variables to gameParameters (via GameDef.Parm). Fixed addressed player for train discards games.properties no longer used Fixed escrow message Added Privates item to Info menu. Added special property info for PRR and B&O Moved <StockRoundRules> contents, misplaced in CompanyManager.xml, to existing <StockRound> element in Game.xml. Fix for companies not being able to start at lowest price. Clear visibility hints after loading Fixed bug in phases definition Added phase and train info to the status window Initial implementation of Autopass and RequestTurn Fixed bug Recreated (had somehow got mangled) Moved FMER start player from OR to GM object, as it must survive an OR change. Added "free" to tile lay on B20 to prevent confusing "normal cost" info bit. Added config setting to keep stockchart open. For future use (follow-up doesn't work yet) Added lowerCaseFirst() Localized extra tile and token messages by calling new getInfo() methods Added some info items. Use getInfo() Cleaned up unused import Adde dmessages for Info Removed description (now in superclass) Minor cleanups Added getInfo() Added and improved Info messages. Fixed: players were offered to buy >1 share from pool Added START_GAME (to replace null action after loading) Removed displayServerMessage() All displayMessage() methods moved to GameUIManager, which now uses the new nonmodal MessageDialog Added Message Added info about using custom property files Honour new UnlimitedTiles game option Added default gameoption values <GameOption> tags are processed again (and it's now documented why) Added check (perhaps redundant) Print game setup error to sysout too toString() simplified No change Reversed an equals condition to prevent null breaking it Fixed price determination of company buying pool shares Added getIndex (for debugging) Fixed looping bug: while() -> if () Moved nonmodal message display to end of updating UI Fixed: log was set too early Safety check on assigning game option value Allow passing working directory Updated comment In save file name suffixes, replace spaces and other nonword characters to underscores New tile for Birmingham 1851 Fixes to 18EU Pullmann problems Fixed Javadoc Minor fix to help message Fixed instantiation problem for 2nd etc. copy of unlimited quantity trains Discard Pullmanns to Pool, not ScrapHeap Cleanup & additional comment Fixed usage of amount/quantity Enabled UTC timezone as default for save file names Player worth is now updated at each price token move (except Undo and Redo) New tiles for 1889 No change Fixed tile numbers Fixed money symbol Formatted Home base on green OO tile can now be chosen in first turn Some formatting Erie start city set to 0 (undefined) Info: replaced Privates by Companies. Now covers all (private and public) company types, as defined in the XML. All D-trains can be bought via an exchange, not just the first one. Removed incorrect 'First' from D-train exchange-related words Added fixed infoText. To include city name is known. Minor change Moved creating home and destination info text to allow including the city name Added space before financials report Minor cleanup Fixed hung state when start packet not sold out Force selling excess shares Added State (for 1835) Added comment Added OrStep enum Changed value of a when condition Allow special token lays at any time during OR. Fixed home tokenlay on (green) OO tiles Added logger Fixed buggy check on presence of tokens to prevent drawing the company home marker. Unneeded Added getHexDistance() to calculate the "as a crow with passport flies" distance for 1835. Added canUseSpecialProperties() to enable excluding 1835 minors for using SPs. Allowing buying different size shares per company, if available (as in 1835). Improved sell shares message Added + to version number Fixed Toronto tile (rev. was 40, must be 30) New tile (teh correct one for toronto in 1856) *** empty log message *** Fixed K4 price (120, not 105) *** empty log message *** Various 1835 fixes @Override annotations (added automatically) Name strings are now constants Split start round and starting player messages Minor cleanup New 1835 stuff Added missing 2nd argument to "WrongPlayer" error messages Added comment Fixed DISCARD_TRAINS step as a GameDef.OrStep value Fixed stock price on K3 Fixed BankBreaks finish value Implemented 1835 token lay cost calculation Removed some debug logging Added <CanUseSpecialProperties> Using StockRound_1835 Use explicit allowance to use special properties. 18AL longnames Changed comment Removed redundant (duplicate) Special menu assignment 1835 Prussian start & side effects Removed <Info> - now redundant Add SP info text at the end of other info Improved 18AL Info (by Phil Davies) Cleanups Various changes for 1835 *** empty log message *** Various changes for 1835 Fixed 1835 token cost algorithm Fixed PfB special property location (L6, not J6) Added missing tile upgrades Suppress forced train buy message for minors Reinstated full train cost list Method name changes related to limiting forced train buy message More aspects of Prussian formation OR start changed: all floated companies will run, even if the start package has not been sold yet (as can happen in 1835). Companies will lay home base when floated Fixed port token removal phase (5, was 6) Restrict map display area to hexes actually occurring in Map.xml. New preprinted tiles for 1825 unit 1 New preprinted tiles for 1825 unit 1 1825 Unit 1 (Phil Davies) 18AL: fixed 446 tile lay: on Birmingham only 1856: disallow selling share bought in the same SR turn Set GuiHints in resume to trigger rebuilding ORPanel Strengthen check on no-share-price-change when withholding Fixed CV start city in Toronto Removed pack() after recreate - it's unnecessary and undoes window sizing by user Fixed problem with use of ExchangeForShare caused by a previous change. Fix stall after repaying loans in 1856 Changed previous fix, to reinstate the need to press Done after repaying loans 1835 Prussian formation & some consequential changes Fix 1856 share price adjustment if multiple 5% shares are sold in one round. Prussian formation Fixes to get excess train discard before prussion formation on buying the first 4-train in 1835. Fixed big in Clemens variant: first player was wrongly assigned. 1835 Nationalisation Added JGraph libs Removed erroneous annotation Moved hardcoded company IDs to GameManager_1835 No token lay on L6 before BA has laid home token 1835: higher certificate limit if 80% owned. Added OperatingRound methods isBlockedForTileLays() and isBlockedForTokenLays(). Fixed reserved token spot detection Removed a redundant (because duplicate) method Added missing hex G1 'relatedStation' converted into a State object Reinstated the brown-OO-upgrade-correctness check, which had disappeared in version 1.0.5 for unclear reasons. Chech Prussian presidency after each formation round Fixed bad player assignment in 1830 style auctions (bug 2989440) Fixed 1856 W&SR closure Fixed crash when last 8-train bought Added unlimited last (8-)train option Restructured float detection such that an 1835 bug is fixed (BY must not float if one of its privates is unsold) and that game specific aspects can more easily be implemented in Round subclasses. Fixed station numbering effect on token laying in multi-city tiles Removed 'None' option on the "which train to exchange" question. Removed use of redundant 'forcedExchange' TrainBuy attribute Replaced XML of Goderich/Hamburg red tile #-939 by handmade XML including a City (not OffBoardCity). Fixed tile -803 (Hamburg 1835: one city had 20 revenue) Fix tile 209 (1835 green Berlin) laying ptoblem (no valid orientation). Fixed Javadoc Removed unused attribute Bugs fixed when M1 or M2 buy 1st 4-train in 1835. 1835: Implemented denial of dividend for PR shares received in exchange for precursors that have operated before in the same OR. Moved "Variant" game option name to GameOption In the Clemens variant, minors will not run if BY has not floated Added new 1835 options: Honoured option: Minors don't run if BY has not floated 1835 marked "Almost playable". Description updated. Fixed message (parameter missing) Fixed typo that prevented 1856 companies to close on stock space B11 Fixed double withholding of CGR in 1856 Fixed holes that allowed not specifying the exchanged train in a train exchange action. Rewritten code to assign next operating company to avoid the OperatingCompanyIndex state object. This was continually causing problems. Fixed 1835 bug at buying the first 5-train. Enable custom route colours Fixed parseColour() to catch empty or missing values Prevented concurrent modification when closing privates Fixed some bugs with recent rewrite of resetOperatingCompanies(). 18EU bankruptcy rules 18EU bankruptcy rules (Phase 2) 18EU bankruptcy rules (Phase 3) 18EU bankruptcy rules (Phase 3a) 18EU bankruptcy rules (Phase 4) - making a restarted company actually operate (!) This commit was manufactured by cvs2svn to create tag 'rails_1_3'. Freek Dijkstra (7): Ignore tools directories for builds Add program icons Create build-mac target. While this creates a working .app for Mac OS X, this is considered alpha status. E.g. my.properties is ignored. Fix typo in path for jarbundler Fix indentation: XML files contain tabs Fix indentation: Java files contain 4 spaces, not tabs Add jgraph and junit libraries to class path Mark J. Smith (16): MJS Test Commit, Comment added Removed TEST Line. Mark Smith testing Commit rights Added Upgrades for Tiles 3, 4 and 58 that were missing. When drawing Blocked Hexes for Privates, tested to be sure there are blocked entries in the list. Not all Privates Block Hexes. This Fixes the 1856 Map Drawing Issue Corrected starting orientation of Tile on B13 - Sarnia Change 'Bank=Bank' to 'BANK=Bank' to match how GameStatus line 471 will now use it. GameStatus.java will also be updated. Update the LocalText.getText("Bank") to LocalText.getText("BANK") Corrected the hasTokenOf(PublicCompanyI company) to get the Company Name and call hasTokenOf(String companyName). The previous use of the tokens.contains(company) failed since the ArrayList is of TokenI's not PublicCompanyI's. Update to only display the Select Station For Token Dialog if there is more than one city where the token can be placed Update to include Constructors. Added Constructors for proper intialization Added Constructors for proper initializing Added Constructors for proper initializing Added Constructors for proper initializing Improve Start Packet Handling so that only the left most item from the second available row is for sale, rather than the entire second row. Update OR Window Title to show 'Operating Round #.# of #, where the last # is the total number of Operating Rounds to be performed before going back to the Stock Round. Stefan Frey (102): 1889 stockround sequence corrected (SellBuyOrBuySell) Check for null in preventClosingConditions (just in case) Updated 1889 description Added NoMapMode as GameOption. Added shell script to create pdf of all tiles defined in Rails Add button to GameSetupWindow that allows randomizing the player order at startup. Fixed bug in randomize if player prefill is used. NoMapMode: Does not display the map (set to invisible). NoMapMode default "no" for 1889 Added noMap support for 1856 Minor fixes and improvements to NoMap OperatingCosts Added better support for B and C privates Activated third OffBoardRevenueStep Fixed stock round undo bug (ID: 2954657) Changed base class of ClosePrivate and OperatingCost actions to PossibleAction and PossibleOR in preparation of new Correction Actions Fixes undo bug for blocked home hex (bug #2954645) Fix of the undo tile lay bug (ID : 2954642, 2954984) After undo the number of tile lays is not updated correctly. TileLaysPerColour is state variable. Adds GenericState class. Fix of 2954654: Missing default value of doneAllowed in setPossibleActions of OperatingRound. Added CorrectionMode - first part Cash Correction Changed tileLaysPerColour state support from GenericState to MapChange. Fix of incorrect change of director if several candidates are available (bug 2962977) Re-Commit: Added support for game option additional 6 train to 18Kaas. Improved GUI support for cash corrections and some refactoring of the corrections package. Fix of undo problem: Stack position of token was not recovered correctly Added nextPlayerMessages and fixed reload bug of cashcorrection action. Fixed quotation in NextPlayerMessage CurrentRoundType and activePanel changed to state-type variables to allow undo between different round types. Removed generation of free entry operating costs action (can be done by cash corrections now) Added NoMap option to 1851 and 18Kaas, removed from 1856 GameOver and endedByBankruptcy are state variables, added EndofGameRound to allow undo. Change broken bank to state variable. Dialog handling changed to standard procedures. Fixed typo (= -> -) that caused Rails to freeze on zooms on NorthSouth-Maps Updated EndOfGame Handling (undo possible, ranking display step by step, updated forced share selling message display, LocalText) Added fix to allow zero cost token lay after removal of default operating costs actions. Improved cash correction dialog text and handling of "+" sign. Added upgrades 205,206 to tile 57 (as suggested by Aliza Panitz - this is a correction of the tile manifest in the rulebook) Removed typo, fixes bug ID: 2973927, map zoom Implementation of Rails junit testing. More details see mail to the develop list. Added MapCorrection Mode and some refactoring on the CorrectionClasses And the changes in LocalisedText Replaced FileNameExtensionFilter (Java 6) with FileFilter (Java 5) Initial commit of test data with some cases already in the agreed format. Adding the two graph libraries jars Adding the experimental network code. Example graphs are shown under Info on the Map Panel. Updated build.xml with added jars. Updated jgraph.jar, added junit.jar and updated .classpath Added Tile and Token location hints U... [truncated message content] |
From: Brett L. <wak...@us...> - 2011-07-17 19:36:17
|
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.2.2 has been created at fba5876d420794f8bc12c7803a5b2af92847244a (tag) tagging df9c8d1e97cbb2a494594b51eecf1b59c4bdd95e (commit) tagged by Brett Lentz on Sun Jul 17 12:28:28 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.2.2 Brett Lentz (261): 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. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add syncmail to commits mailing list. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 bump version to 1.1.1 update version string to 1.1.2 Apply Unlimited Trains patch from Freek Dijkstra <sf_...@ma...> Revert Freek Dijkstra's unlimited trains patch. We found a simpler way to implement this. Add unlimited tiles option back in. Bump version strings to 1.1.3 Apply patches from Stefan Frey <ste...@we...> to implement 1889. Commit CompanyManager updates for 1851, 1870, and 18EU from Phil Davies <de...@gm...>. Update files with version number 1.2 bump version to 1.2.1 bump version numbers to 1.2.2 Erik Vos (848): 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 Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round Implemented request to show low-price colours in SR and OR panels. Changed minor token BG colour to light gray (to better distinguish from empty circles) Addes larger token font for short names (1 or 2 chars) Draw company names in their home cities rather than on the hex. Replaced track by pointy triangles in off-board tiles Map made zoomable. Removed Reproduced SVG tiles from TileDesigner. Removed GIF tiles Changed orientation of tile #4 to get the village right New SVG tile production. Some updates Adapted code for correct working with new set of SVG tiles. Better positioning and sizing of tokens and home indicators Fixed price token display Moved stepObject creation backwards to OR start() Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play. Fixed a misnamed constant. Fixed bonus token position on hex Formatting only Explicitly remove tiles at start of token mode (although that should have happened earlier). Unclear why that doesn't work. The disappearance of the tiles when another one is selected remains a mystery. Fixed disappearance of tiles if a selected and dropped tile is changed. Fixed wrong $1 token cost display when merging 2nd etc. minot into major. Fixed cert.limits for 3 and 5 players (which were swapped) Described 1856 limitation Added 2 chars of name to View string if no locations exist Fixed moving unsold Bridge/Tunnel tokens to GM/Bank Set seller of unsold Bridge/Tunnel tokens to Bank Fixed message text Removed option to select "common" actions in case of forced actions (i.e. a train discard). Minor cleanup Fixed in 1856: Some restructuring New tool (unfinished) Added Save, Load and Trim menu items Added equals() Prevent CGR getting more than 1 bonus of the same type (e.g. Bridge) Added option to undo setting to exercised (this is not actually used now) Added log message related to Bonus tokens Fixed bookkeeping on sold bonus tokens, in particular in relation to dropping duplicate tokens acquired by the CGR Clear display buffer after reload Minor cleanup 1856: allowing unlimited Bridge/Tunnel bonus tokens as a game option Fixed bug where CGR would in case of excess trains discard all 4-trains, in stead Cleanup help message at end of OR. Offboard value display made special throughout. Map is now visible during CGR formation (but the dialogs are still modal) Fix null "reached destination" created on an empty response. Added mayBuyTrainType() to fix incorrect 4-train buy option for 1856 CGR. Added a financials report to the end of each round. Bring ORWindow to front at certain actions Added "Has" and fixed second Select to SelectSomething fixed Select to SelectSomething Minor change Repack status window at start of switchableRound because for some reason it squeezes a that time. Added a precaution A null Destinations action is no longer sent to the server. Expose closedModel. Remove unused closed attribute. Added fixed text facility (used for "MERGE"in 1856) Set fixed text "MERGE" into loans model for merging companies Added getUpdate() to enable use as ModelObject. Added MERGE Added facility to hide closed company rows via a nested class RowVisibility Call update when object is set. Catch an unexpected error condition - to be sorted out later Removed unnecessary update() call Fix row visibility Minor cleanup Always allow SAVE Always add SAVE Permanently enable SAVE DiscardTrains was not handled after Load Both Game Status and OR/Map windows now hide closed company rows. Cleaned up imports Created common superclass GridPanel for GameStatus and ORPanel to abstract common features. Player worth is now recalculated at every certificate move (bug fix) Created non-modal version of CheckBoxDialog and a method to deal with such dialogs in the UI Managers. Added value 10 to tile #4 Added joinWithDelimiter Added messages for checkbox dialog Added nonmodal RadioButtonDialog2 and apply to Repay Loans Renamed some interfaces Renamed some interfaces Added missing company name parameter to repay loans display text Fixed phase-dependent revenues on non-offboard (red) hexes. More dialogs made modal Renamed New classes for the server-to-client communication Removed because unused Changes related to non-modal dialogs Fixed and added alwaysOnTop() Added alwaysOnTop() Added dependents to propagate updates Fixed company turn change issue Propagate row invisibility to ClickButtons Reworked updateUI() for use of GuiHints Defs->GuiDef name change Added missing SelectedHomeBase Fixed SelectedHomeBase message Abstracted some variables into methods, taking info from GameUIManager Changed comment Added GUIHInts Empties (may get redundant) Added GUIHints Added GUIHints Added some generic getters. Changes some unnecessary class attributes into local variables Added some generic getters. Use of GuiDef and GameDef New class, for game-engine parameter definitions Added '+' to version number to indicate experimental version Set game parameters in stead of some local variables Added orientation to a laid tile in the Game Report Fixed price typo Fixed missing upgrades Added getGameOptions() Moved comments on game options from 1830/Game.xml to here Changes structure of GameManager XML Moved various non-changing variables to gameParameters (via GameDef.Parm). Fixed addressed player for train discards games.properties no longer used Fixed escrow message Added Privates item to Info menu. Added special property info for PRR and B&O Moved <StockRoundRules> contents, misplaced in CompanyManager.xml, to existing <StockRound> element in Game.xml. Fix for companies not being able to start at lowest price. Clear visibility hints after loading Fixed bug in phases definition Added phase and train info to the status window Initial implementation of Autopass and RequestTurn Fixed bug Recreated (had somehow got mangled) Moved FMER start player from OR to GM object, as it must survive an OR change. Added "free" to tile lay on B20 to prevent confusing "normal cost" info bit. Added config setting to keep stockchart open. For future use (follow-up doesn't work yet) Added lowerCaseFirst() Localized extra tile and token messages by calling new getInfo() methods Added some info items. Use getInfo() Cleaned up unused import Adde dmessages for Info Removed description (now in superclass) Minor cleanups Added getInfo() Added and improved Info messages. Fixed: players were offered to buy >1 share from pool Added START_GAME (to replace null action after loading) Removed displayServerMessage() All displayMessage() methods moved to GameUIManager, which now uses the new nonmodal MessageDialog Added Message Added info about using custom property files Honour new UnlimitedTiles game option Added default gameoption values <GameOption> tags are processed again (and it's now documented why) Added check (perhaps redundant) Print game setup error to sysout too toString() simplified No change Reversed an equals condition to prevent null breaking it Fixed price determination of company buying pool shares Added getIndex (for debugging) Fixed looping bug: while() -> if () Moved nonmodal message display to end of updating UI Fixed: log was set too early Safety check on assigning game option value Allow passing working directory Updated comment In save file name suffixes, replace spaces and other nonword characters to underscores New tile for Birmingham 1851 Fixes to 18EU Pullmann problems Fixed Javadoc Minor fix to help message Fixed instantiation problem for 2nd etc. copy of unlimited quantity trains Discard Pullmanns to Pool, not ScrapHeap Cleanup & additional comment Fixed usage of amount/quantity Enabled UTC timezone as default for save file names Player worth is now updated at each price token move (except Undo and Redo) New tiles for 1889 No change Fixed tile numbers Fixed money symbol Formatted Home base on green OO tile can now be chosen in first turn Some formatting Erie start city set to 0 (undefined) Info: replaced Privates by Companies. Now covers all (private and public) company types, as defined in the XML. All D-trains can be bought via an exchange, not just the first one. Removed incorrect 'First' from D-train exchange-related words Added fixed infoText. To include city name is known. Minor change Moved creating home and destination info text to allow including the city name Added space before financials report Minor cleanup Fixed hung state when start packet not sold out Force selling excess shares Added State (for 1835) Added comment Added OrStep enum Changed value of a when condition Allow special token lays at any time during OR. Fixed home tokenlay on (green) OO tiles Added logger Fixed buggy check on presence of tokens to prevent drawing the company home marker. Unneeded Added getHexDistance() to calculate the "as a crow with passport flies" distance for 1835. Added canUseSpecialProperties() to enable excluding 1835 minors for using SPs. Allowing buying different size shares per company, if available (as in 1835). Improved sell shares message Added + to version number Fixed Toronto tile (rev. was 40, must be 30) New tile (teh correct one for toronto in 1856) *** empty log message *** Fixed K4 price (120, not 105) *** empty log message *** Various 1835 fixes @Override annotations (added automatically) Name strings are now constants Split start round and starting player messages Minor cleanup New 1835 stuff Added missing 2nd argument to "WrongPlayer" error messages Added comment Fixed DISCARD_TRAINS step as a GameDef.OrStep value Fixed stock price on K3 Fixed BankBreaks finish value Implemented 1835 token lay cost calculation Removed some debug logging Added <CanUseSpecialProperties> Using StockRound_1835 Use explicit allowance to use special properties. 18AL longnames Changed comment Removed redundant (duplicate) Special menu assignment 1835 Prussian start & side effects Removed <Info> - now redundant Add SP info text at the end of other info Improved 18AL Info (by Phil Davies) Cleanups Various changes for 1835 *** empty log message *** Various changes for 1835 Fixed 1835 token cost algorithm Fixed PfB special property location (L6, not J6) Added missing tile upgrades Suppress forced train buy message for minors Reinstated full train cost list Method name changes related to limiting forced train buy message More aspects of Prussian formation OR start changed: all floated companies will run, even if the start package has not been sold yet (as can happen in 1835). Companies will lay home base when floated Fixed port token removal phase (5, was 6) Restrict map display area to hexes actually occurring in Map.xml. New preprinted tiles for 1825 unit 1 New preprinted tiles for 1825 unit 1 1825 Unit 1 (Phil Davies) 18AL: fixed 446 tile lay: on Birmingham only 1856: disallow selling share bought in the same SR turn Set GuiHints in resume to trigger rebuilding ORPanel Strengthen check on no-share-price-change when withholding Fixed CV start city in Toronto Removed pack() after recreate - it's unnecessary and undoes window sizing by user Fixed problem with use of ExchangeForShare caused by a previous change. Fix stall after repaying loans in 1856 Changed previous fix, to reinstate the need to press Done after repaying loans This commit was manufactured by cvs2svn to create tag 'rails_1_2_2'. Freek Dijkstra (6): Ignore tools directories for builds Add program icons Create build-mac target. While this creates a working .app for Mac OS X, this is considered alpha status. E.g. my.properties is ignored. Fix typo in path for jarbundler Fix indentation: XML files contain tabs Fix indentation: Java files contain 4 spaces, not tabs Mark J. Smith (16): MJS Test Commit, Comment added Removed TEST Line. Mark Smith testing Commit rights Added Upgrades for Tiles 3, 4 and 58 that were missing. When drawing Blocked Hexes for Privates, tested to be sure there are blocked entries in the list. Not all Privates Block Hexes. This Fixes the 1856 Map Drawing Issue Corrected starting orientation of Tile on B13 - Sarnia Change 'Bank=Bank' to 'BANK=Bank' to match how GameStatus line 471 will now use it. GameStatus.java will also be updated. Update the LocalText.getText("Bank") to LocalText.getText("BANK") Corrected the hasTokenOf(PublicCompanyI company) to get the Company Name and call hasTokenOf(String companyName). The previous use of the tokens.contains(company) failed since the ArrayList is of TokenI's not PublicCompanyI's. Update to only display the Select Station For Token Dialog if there is more than one city where the token can be placed Update to include Constructors. Added Constructors for proper intialization Added Constructors for proper initializing Added Constructors for proper initializing Added Constructors for proper initializing Improve Start Packet Handling so that only the left most item from the second available row is for sale, rather than the entire second row. Update OR Window Title to show 'Operating Round #.# of #, where the last # is the total number of Operating Rounds to be performed before going back to the Stock Round. Stefan Frey (38): 1889 stockround sequence corrected (SellBuyOrBuySell) Check for null in preventClosingConditions (just in case) Updated 1889 description Added NoMapMode as GameOption. Added shell script to create pdf of all tiles defined in Rails Add button to GameSetupWindow that allows randomizing the player order at startup. Fixed bug in randomize if player prefill is used. NoMapMode: Does not display the map (set to invisible). NoMapMode default "no" for 1889 Added noMap support for 1856 Minor fixes and improvements to NoMap OperatingCosts Added better support for B and C privates Activated third OffBoardRevenueStep Fixed stock round undo bug (ID: 2954657) Changed base class of ClosePrivate and OperatingCost actions to PossibleAction and PossibleOR in preparation of new Correction Actions Fixes undo bug for blocked home hex (bug #2954645) Fix of the undo tile lay bug (ID : 2954642, 2954984) After undo the number of tile lays is not updated correctly. TileLaysPerColour is state variable. Adds GenericState class. Fix of 2954654: Missing default value of doneAllowed in setPossibleActions of OperatingRound. Added CorrectionMode - first part Cash Correction Changed tileLaysPerColour state support from GenericState to MapChange. Fix of incorrect change of director if several candidates are available (bug 2962977) Re-Commit: Added support for game option additional 6 train to 18Kaas. Improved GUI support for cash corrections and some refactoring of the corrections package. Fix of undo problem: Stack position of token was not recovered correctly Added nextPlayerMessages and fixed reload bug of cashcorrection action. Fixed quotation in NextPlayerMessage CurrentRoundType and activePanel changed to state-type variables to allow undo between different round types. Removed generation of free entry operating costs action (can be done by cash corrections now) Added NoMap option to 1851 and 18Kaas, removed from 1856 GameOver and endedByBankruptcy are state variables, added EndofGameRound to allow undo. Change broken bank to state variable. Dialog handling changed to standard procedures. Fixed typo (= -> -) that caused Rails to freeze on zooms on NorthSouth-Maps Updated EndOfGame Handling (undo possible, ranking display step by step, updated forced share selling message display, LocalText) Added fix to allow zero cost token lay after removal of default operating costs actions. Improved cash correction dialog text and handling of "+" sign. Added upgrades 205,206 to tile 57 (as suggested by Aliza Panitz - this is a correction of the tile manifest in the rulebook) Removed typo, fixes bug ID: 2973927, map zoom ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |
From: Brett L. <wak...@us...> - 2011-07-17 19:36:09
|
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.2.1 has been created at cca0e2802b54e21fb2f1505f1a24cf774b8abb40 (tag) tagging 4bec123816ee3da85809fd223bc38eda3ca2b934 (commit) tagged by Brett Lentz on Sun Jul 17 12:28:49 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.2.1 Brett Lentz (260): 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. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add syncmail to commits mailing list. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 bump version to 1.1.1 update version string to 1.1.2 Apply Unlimited Trains patch from Freek Dijkstra <sf_...@ma...> Revert Freek Dijkstra's unlimited trains patch. We found a simpler way to implement this. Add unlimited tiles option back in. Bump version strings to 1.1.3 Apply patches from Stefan Frey <ste...@we...> to implement 1889. Commit CompanyManager updates for 1851, 1870, and 18EU from Phil Davies <de...@gm...>. Update files with version number 1.2 bump version to 1.2.1 Erik Vos (846): 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 Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round Implemented request to show low-price colours in SR and OR panels. Changed minor token BG colour to light gray (to better distinguish from empty circles) Addes larger token font for short names (1 or 2 chars) Draw company names in their home cities rather than on the hex. Replaced track by pointy triangles in off-board tiles Map made zoomable. Removed Reproduced SVG tiles from TileDesigner. Removed GIF tiles Changed orientation of tile #4 to get the village right New SVG tile production. Some updates Adapted code for correct working with new set of SVG tiles. Better positioning and sizing of tokens and home indicators Fixed price token display Moved stepObject creation backwards to OR start() Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play. Fixed a misnamed constant. Fixed bonus token position on hex Formatting only Explicitly remove tiles at start of token mode (although that should have happened earlier). Unclear why that doesn't work. The disappearance of the tiles when another one is selected remains a mystery. Fixed disappearance of tiles if a selected and dropped tile is changed. Fixed wrong $1 token cost display when merging 2nd etc. minot into major. Fixed cert.limits for 3 and 5 players (which were swapped) Described 1856 limitation Added 2 chars of name to View string if no locations exist Fixed moving unsold Bridge/Tunnel tokens to GM/Bank Set seller of unsold Bridge/Tunnel tokens to Bank Fixed message text Removed option to select "common" actions in case of forced actions (i.e. a train discard). Minor cleanup Fixed in 1856: Some restructuring New tool (unfinished) Added Save, Load and Trim menu items Added equals() Prevent CGR getting more than 1 bonus of the same type (e.g. Bridge) Added option to undo setting to exercised (this is not actually used now) Added log message related to Bonus tokens Fixed bookkeeping on sold bonus tokens, in particular in relation to dropping duplicate tokens acquired by the CGR Clear display buffer after reload Minor cleanup 1856: allowing unlimited Bridge/Tunnel bonus tokens as a game option Fixed bug where CGR would in case of excess trains discard all 4-trains, in stead Cleanup help message at end of OR. Offboard value display made special throughout. Map is now visible during CGR formation (but the dialogs are still modal) Fix null "reached destination" created on an empty response. Added mayBuyTrainType() to fix incorrect 4-train buy option for 1856 CGR. Added a financials report to the end of each round. Bring ORWindow to front at certain actions Added "Has" and fixed second Select to SelectSomething fixed Select to SelectSomething Minor change Repack status window at start of switchableRound because for some reason it squeezes a that time. Added a precaution A null Destinations action is no longer sent to the server. Expose closedModel. Remove unused closed attribute. Added fixed text facility (used for "MERGE"in 1856) Set fixed text "MERGE" into loans model for merging companies Added getUpdate() to enable use as ModelObject. Added MERGE Added facility to hide closed company rows via a nested class RowVisibility Call update when object is set. Catch an unexpected error condition - to be sorted out later Removed unnecessary update() call Fix row visibility Minor cleanup Always allow SAVE Always add SAVE Permanently enable SAVE DiscardTrains was not handled after Load Both Game Status and OR/Map windows now hide closed company rows. Cleaned up imports Created common superclass GridPanel for GameStatus and ORPanel to abstract common features. Player worth is now recalculated at every certificate move (bug fix) Created non-modal version of CheckBoxDialog and a method to deal with such dialogs in the UI Managers. Added value 10 to tile #4 Added joinWithDelimiter Added messages for checkbox dialog Added nonmodal RadioButtonDialog2 and apply to Repay Loans Renamed some interfaces Renamed some interfaces Added missing company name parameter to repay loans display text Fixed phase-dependent revenues on non-offboard (red) hexes. More dialogs made modal Renamed New classes for the server-to-client communication Removed because unused Changes related to non-modal dialogs Fixed and added alwaysOnTop() Added alwaysOnTop() Added dependents to propagate updates Fixed company turn change issue Propagate row invisibility to ClickButtons Reworked updateUI() for use of GuiHints Defs->GuiDef name change Added missing SelectedHomeBase Fixed SelectedHomeBase message Abstracted some variables into methods, taking info from GameUIManager Changed comment Added GUIHInts Empties (may get redundant) Added GUIHints Added GUIHints Added some generic getters. Changes some unnecessary class attributes into local variables Added some generic getters. Use of GuiDef and GameDef New class, for game-engine parameter definitions Added '+' to version number to indicate experimental version Set game parameters in stead of some local variables Added orientation to a laid tile in the Game Report Fixed price typo Fixed missing upgrades Added getGameOptions() Moved comments on game options from 1830/Game.xml to here Changes structure of GameManager XML Moved various non-changing variables to gameParameters (via GameDef.Parm). Fixed addressed player for train discards games.properties no longer used Fixed escrow message Added Privates item to Info menu. Added special property info for PRR and B&O Moved <StockRoundRules> contents, misplaced in CompanyManager.xml, to existing <StockRound> element in Game.xml. Fix for companies not being able to start at lowest price. Clear visibility hints after loading Fixed bug in phases definition Added phase and train info to the status window Initial implementation of Autopass and RequestTurn Fixed bug Recreated (had somehow got mangled) Moved FMER start player from OR to GM object, as it must survive an OR change. Added "free" to tile lay on B20 to prevent confusing "normal cost" info bit. Added config setting to keep stockchart open. For future use (follow-up doesn't work yet) Added lowerCaseFirst() Localized extra tile and token messages by calling new getInfo() methods Added some info items. Use getInfo() Cleaned up unused import Adde dmessages for Info Removed description (now in superclass) Minor cleanups Added getInfo() Added and improved Info messages. Fixed: players were offered to buy >1 share from pool Added START_GAME (to replace null action after loading) Removed displayServerMessage() All displayMessage() methods moved to GameUIManager, which now uses the new nonmodal MessageDialog Added Message Added info about using custom property files Honour new UnlimitedTiles game option Added default gameoption values <GameOption> tags are processed again (and it's now documented why) Added check (perhaps redundant) Print game setup error to sysout too toString() simplified No change Reversed an equals condition to prevent null breaking it Fixed price determination of company buying pool shares Added getIndex (for debugging) Fixed looping bug: while() -> if () Moved nonmodal message display to end of updating UI Fixed: log was set too early Safety check on assigning game option value Allow passing working directory Updated comment In save file name suffixes, replace spaces and other nonword characters to underscores New tile for Birmingham 1851 Fixes to 18EU Pullmann problems Fixed Javadoc Minor fix to help message Fixed instantiation problem for 2nd etc. copy of unlimited quantity trains Discard Pullmanns to Pool, not ScrapHeap Cleanup & additional comment Fixed usage of amount/quantity Enabled UTC timezone as default for save file names Player worth is now updated at each price token move (except Undo and Redo) New tiles for 1889 No change Fixed tile numbers Fixed money symbol Formatted Home base on green OO tile can now be chosen in first turn Some formatting Erie start city set to 0 (undefined) Info: replaced Privates by Companies. Now covers all (private and public) company types, as defined in the XML. All D-trains can be bought via an exchange, not just the first one. Removed incorrect 'First' from D-train exchange-related words Added fixed infoText. To include city name is known. Minor change Moved creating home and destination info text to allow including the city name Added space before financials report Minor cleanup Fixed hung state when start packet not sold out Force selling excess shares Added State (for 1835) Added comment Added OrStep enum Changed value of a when condition Allow special token lays at any time during OR. Fixed home tokenlay on (green) OO tiles Added logger Fixed buggy check on presence of tokens to prevent drawing the company home marker. Unneeded Added getHexDistance() to calculate the "as a crow with passport flies" distance for 1835. Added canUseSpecialProperties() to enable excluding 1835 minors for using SPs. Allowing buying different size shares per company, if available (as in 1835). Improved sell shares message Added + to version number Fixed Toronto tile (rev. was 40, must be 30) New tile (teh correct one for toronto in 1856) *** empty log message *** Fixed K4 price (120, not 105) *** empty log message *** Various 1835 fixes @Override annotations (added automatically) Name strings are now constants Split start round and starting player messages Minor cleanup New 1835 stuff Added missing 2nd argument to "WrongPlayer" error messages Added comment Fixed DISCARD_TRAINS step as a GameDef.OrStep value Fixed stock price on K3 Fixed BankBreaks finish value Implemented 1835 token lay cost calculation Removed some debug logging Added <CanUseSpecialProperties> Using StockRound_1835 Use explicit allowance to use special properties. 18AL longnames Changed comment Removed redundant (duplicate) Special menu assignment 1835 Prussian start & side effects Removed <Info> - now redundant Add SP info text at the end of other info Improved 18AL Info (by Phil Davies) Cleanups Various changes for 1835 *** empty log message *** Various changes for 1835 Fixed 1835 token cost algorithm Fixed PfB special property location (L6, not J6) Added missing tile upgrades Suppress forced train buy message for minors Reinstated full train cost list Method name changes related to limiting forced train buy message More aspects of Prussian formation OR start changed: all floated companies will run, even if the start package has not been sold yet (as can happen in 1835). Companies will lay home base when floated Fixed port token removal phase (5, was 6) Restrict map display area to hexes actually occurring in Map.xml. New preprinted tiles for 1825 unit 1 New preprinted tiles for 1825 unit 1 1825 Unit 1 (Phil Davies) 18AL: fixed 446 tile lay: on Birmingham only 1856: disallow selling share bought in the same SR turn Set GuiHints in resume to trigger rebuilding ORPanel Strengthen check on no-share-price-change when withholding Fixed CV start city in Toronto Removed pack() after recreate - it's unnecessary and undoes window sizing by user Fixed problem with use of ExchangeForShare caused by a previous change. This commit was manufactured by cvs2svn to create tag 'rails_1_2_1'. Freek Dijkstra (6): Ignore tools directories for builds Add program icons Create build-mac target. While this creates a working .app for Mac OS X, this is considered alpha status. E.g. my.properties is ignored. Fix typo in path for jarbundler Fix indentation: XML files contain tabs Fix indentation: Java files contain 4 spaces, not tabs Mark J. Smith (16): MJS Test Commit, Comment added Removed TEST Line. Mark Smith testing Commit rights Added Upgrades for Tiles 3, 4 and 58 that were missing. When drawing Blocked Hexes for Privates, tested to be sure there are blocked entries in the list. Not all Privates Block Hexes. This Fixes the 1856 Map Drawing Issue Corrected starting orientation of Tile on B13 - Sarnia Change 'Bank=Bank' to 'BANK=Bank' to match how GameStatus line 471 will now use it. GameStatus.java will also be updated. Update the LocalText.getText("Bank") to LocalText.getText("BANK") Corrected the hasTokenOf(PublicCompanyI company) to get the Company Name and call hasTokenOf(String companyName). The previous use of the tokens.contains(company) failed since the ArrayList is of TokenI's not PublicCompanyI's. Update to only display the Select Station For Token Dialog if there is more than one city where the token can be placed Update to include Constructors. Added Constructors for proper intialization Added Constructors for proper initializing Added Constructors for proper initializing Added Constructors for proper initializing Improve Start Packet Handling so that only the left most item from the second available row is for sale, rather than the entire second row. Update OR Window Title to show 'Operating Round #.# of #, where the last # is the total number of Operating Rounds to be performed before going back to the Stock Round. Stefan Frey (36): 1889 stockround sequence corrected (SellBuyOrBuySell) Check for null in preventClosingConditions (just in case) Updated 1889 description Added NoMapMode as GameOption. Added shell script to create pdf of all tiles defined in Rails Add button to GameSetupWindow that allows randomizing the player order at startup. Fixed bug in randomize if player prefill is used. NoMapMode: Does not display the map (set to invisible). NoMapMode default "no" for 1889 Added noMap support for 1856 Minor fixes and improvements to NoMap OperatingCosts Added better support for B and C privates Activated third OffBoardRevenueStep Fixed stock round undo bug (ID: 2954657) Changed base class of ClosePrivate and OperatingCost actions to PossibleAction and PossibleOR in preparation of new Correction Actions Fixes undo bug for blocked home hex (bug #2954645) Fix of the undo tile lay bug (ID : 2954642, 2954984) After undo the number of tile lays is not updated correctly. TileLaysPerColour is state variable. Adds GenericState class. Fix of 2954654: Missing default value of doneAllowed in setPossibleActions of OperatingRound. Added CorrectionMode - first part Cash Correction Changed tileLaysPerColour state support from GenericState to MapChange. Fix of incorrect change of director if several candidates are available (bug 2962977) Re-Commit: Added support for game option additional 6 train to 18Kaas. Improved GUI support for cash corrections and some refactoring of the corrections package. Fix of undo problem: Stack position of token was not recovered correctly Added nextPlayerMessages and fixed reload bug of cashcorrection action. Fixed quotation in NextPlayerMessage CurrentRoundType and activePanel changed to state-type variables to allow undo between different round types. Removed generation of free entry operating costs action (can be done by cash corrections now) Added NoMap option to 1851 and 18Kaas, removed from 1856 GameOver and endedByBankruptcy are state variables, added EndofGameRound to allow undo. Change broken bank to state variable. Dialog handling changed to standard procedures. Fixed typo (= -> -) that caused Rails to freeze on zooms on NorthSouth-Maps Updated EndOfGame Handling (undo possible, ranking display step by step, updated forced share selling message display, LocalText) Added fix to allow zero cost token lay after removal of default operating costs actions. Improved cash correction dialog text and handling of "+" sign. ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |
From: Brett L. <wak...@us...> - 2011-07-17 19:36:02
|
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.2.0 has been created at 1de2382d6cb5f65e662a2a1522ef779081cc6a3a (tag) tagging 14c2c952e9ba451731b86918dfcbcc504cdfb754 (commit) tagged by Brett Lentz on Sun Jul 17 12:29:06 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.2.0 Brett Lentz (259): 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. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add syncmail to commits mailing list. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 bump version to 1.1.1 update version string to 1.1.2 Apply Unlimited Trains patch from Freek Dijkstra <sf_...@ma...> Revert Freek Dijkstra's unlimited trains patch. We found a simpler way to implement this. Add unlimited tiles option back in. Bump version strings to 1.1.3 Apply patches from Stefan Frey <ste...@we...> to implement 1889. Commit CompanyManager updates for 1851, 1870, and 18EU from Phil Davies <de...@gm...>. Update files with version number 1.2 Erik Vos (845): 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 Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round Implemented request to show low-price colours in SR and OR panels. Changed minor token BG colour to light gray (to better distinguish from empty circles) Addes larger token font for short names (1 or 2 chars) Draw company names in their home cities rather than on the hex. Replaced track by pointy triangles in off-board tiles Map made zoomable. Removed Reproduced SVG tiles from TileDesigner. Removed GIF tiles Changed orientation of tile #4 to get the village right New SVG tile production. Some updates Adapted code for correct working with new set of SVG tiles. Better positioning and sizing of tokens and home indicators Fixed price token display Moved stepObject creation backwards to OR start() Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play. Fixed a misnamed constant. Fixed bonus token position on hex Formatting only Explicitly remove tiles at start of token mode (although that should have happened earlier). Unclear why that doesn't work. The disappearance of the tiles when another one is selected remains a mystery. Fixed disappearance of tiles if a selected and dropped tile is changed. Fixed wrong $1 token cost display when merging 2nd etc. minot into major. Fixed cert.limits for 3 and 5 players (which were swapped) Described 1856 limitation Added 2 chars of name to View string if no locations exist Fixed moving unsold Bridge/Tunnel tokens to GM/Bank Set seller of unsold Bridge/Tunnel tokens to Bank Fixed message text Removed option to select "common" actions in case of forced actions (i.e. a train discard). Minor cleanup Fixed in 1856: Some restructuring New tool (unfinished) Added Save, Load and Trim menu items Added equals() Prevent CGR getting more than 1 bonus of the same type (e.g. Bridge) Added option to undo setting to exercised (this is not actually used now) Added log message related to Bonus tokens Fixed bookkeeping on sold bonus tokens, in particular in relation to dropping duplicate tokens acquired by the CGR Clear display buffer after reload Minor cleanup 1856: allowing unlimited Bridge/Tunnel bonus tokens as a game option Fixed bug where CGR would in case of excess trains discard all 4-trains, in stead Cleanup help message at end of OR. Offboard value display made special throughout. Map is now visible during CGR formation (but the dialogs are still modal) Fix null "reached destination" created on an empty response. Added mayBuyTrainType() to fix incorrect 4-train buy option for 1856 CGR. Added a financials report to the end of each round. Bring ORWindow to front at certain actions Added "Has" and fixed second Select to SelectSomething fixed Select to SelectSomething Minor change Repack status window at start of switchableRound because for some reason it squeezes a that time. Added a precaution A null Destinations action is no longer sent to the server. Expose closedModel. Remove unused closed attribute. Added fixed text facility (used for "MERGE"in 1856) Set fixed text "MERGE" into loans model for merging companies Added getUpdate() to enable use as ModelObject. Added MERGE Added facility to hide closed company rows via a nested class RowVisibility Call update when object is set. Catch an unexpected error condition - to be sorted out later Removed unnecessary update() call Fix row visibility Minor cleanup Always allow SAVE Always add SAVE Permanently enable SAVE DiscardTrains was not handled after Load Both Game Status and OR/Map windows now hide closed company rows. Cleaned up imports Created common superclass GridPanel for GameStatus and ORPanel to abstract common features. Player worth is now recalculated at every certificate move (bug fix) Created non-modal version of CheckBoxDialog and a method to deal with such dialogs in the UI Managers. Added value 10 to tile #4 Added joinWithDelimiter Added messages for checkbox dialog Added nonmodal RadioButtonDialog2 and apply to Repay Loans Renamed some interfaces Renamed some interfaces Added missing company name parameter to repay loans display text Fixed phase-dependent revenues on non-offboard (red) hexes. More dialogs made modal Renamed New classes for the server-to-client communication Removed because unused Changes related to non-modal dialogs Fixed and added alwaysOnTop() Added alwaysOnTop() Added dependents to propagate updates Fixed company turn change issue Propagate row invisibility to ClickButtons Reworked updateUI() for use of GuiHints Defs->GuiDef name change Added missing SelectedHomeBase Fixed SelectedHomeBase message Abstracted some variables into methods, taking info from GameUIManager Changed comment Added GUIHInts Empties (may get redundant) Added GUIHints Added GUIHints Added some generic getters. Changes some unnecessary class attributes into local variables Added some generic getters. Use of GuiDef and GameDef New class, for game-engine parameter definitions Added '+' to version number to indicate experimental version Set game parameters in stead of some local variables Added orientation to a laid tile in the Game Report Fixed price typo Fixed missing upgrades Added getGameOptions() Moved comments on game options from 1830/Game.xml to here Changes structure of GameManager XML Moved various non-changing variables to gameParameters (via GameDef.Parm). Fixed addressed player for train discards games.properties no longer used Fixed escrow message Added Privates item to Info menu. Added special property info for PRR and B&O Moved <StockRoundRules> contents, misplaced in CompanyManager.xml, to existing <StockRound> element in Game.xml. Fix for companies not being able to start at lowest price. Clear visibility hints after loading Fixed bug in phases definition Added phase and train info to the status window Initial implementation of Autopass and RequestTurn Fixed bug Recreated (had somehow got mangled) Moved FMER start player from OR to GM object, as it must survive an OR change. Added "free" to tile lay on B20 to prevent confusing "normal cost" info bit. Added config setting to keep stockchart open. For future use (follow-up doesn't work yet) Added lowerCaseFirst() Localized extra tile and token messages by calling new getInfo() methods Added some info items. Use getInfo() Cleaned up unused import Adde dmessages for Info Removed description (now in superclass) Minor cleanups Added getInfo() Added and improved Info messages. Fixed: players were offered to buy >1 share from pool Added START_GAME (to replace null action after loading) Removed displayServerMessage() All displayMessage() methods moved to GameUIManager, which now uses the new nonmodal MessageDialog Added Message Added info about using custom property files Honour new UnlimitedTiles game option Added default gameoption values <GameOption> tags are processed again (and it's now documented why) Added check (perhaps redundant) Print game setup error to sysout too toString() simplified No change Reversed an equals condition to prevent null breaking it Fixed price determination of company buying pool shares Added getIndex (for debugging) Fixed looping bug: while() -> if () Moved nonmodal message display to end of updating UI Fixed: log was set too early Safety check on assigning game option value Allow passing working directory Updated comment In save file name suffixes, replace spaces and other nonword characters to underscores New tile for Birmingham 1851 Fixes to 18EU Pullmann problems Fixed Javadoc Minor fix to help message Fixed instantiation problem for 2nd etc. copy of unlimited quantity trains Discard Pullmanns to Pool, not ScrapHeap Cleanup & additional comment Fixed usage of amount/quantity Enabled UTC timezone as default for save file names Player worth is now updated at each price token move (except Undo and Redo) New tiles for 1889 No change Fixed tile numbers Fixed money symbol Formatted Home base on green OO tile can now be chosen in first turn Some formatting Erie start city set to 0 (undefined) Info: replaced Privates by Companies. Now covers all (private and public) company types, as defined in the XML. All D-trains can be bought via an exchange, not just the first one. Removed incorrect 'First' from D-train exchange-related words Added fixed infoText. To include city name is known. Minor change Moved creating home and destination info text to allow including the city name Added space before financials report Minor cleanup Fixed hung state when start packet not sold out Force selling excess shares Added State (for 1835) Added comment Added OrStep enum Changed value of a when condition Allow special token lays at any time during OR. Fixed home tokenlay on (green) OO tiles Added logger Fixed buggy check on presence of tokens to prevent drawing the company home marker. Unneeded Added getHexDistance() to calculate the "as a crow with passport flies" distance for 1835. Added canUseSpecialProperties() to enable excluding 1835 minors for using SPs. Allowing buying different size shares per company, if available (as in 1835). Improved sell shares message Added + to version number Fixed Toronto tile (rev. was 40, must be 30) New tile (teh correct one for toronto in 1856) *** empty log message *** Fixed K4 price (120, not 105) *** empty log message *** Various 1835 fixes @Override annotations (added automatically) Name strings are now constants Split start round and starting player messages Minor cleanup New 1835 stuff Added missing 2nd argument to "WrongPlayer" error messages Added comment Fixed DISCARD_TRAINS step as a GameDef.OrStep value Fixed stock price on K3 Fixed BankBreaks finish value Implemented 1835 token lay cost calculation Removed some debug logging Added <CanUseSpecialProperties> Using StockRound_1835 Use explicit allowance to use special properties. 18AL longnames Changed comment Removed redundant (duplicate) Special menu assignment 1835 Prussian start & side effects Removed <Info> - now redundant Add SP info text at the end of other info Improved 18AL Info (by Phil Davies) Cleanups Various changes for 1835 *** empty log message *** Various changes for 1835 Fixed 1835 token cost algorithm Fixed PfB special property location (L6, not J6) Added missing tile upgrades Suppress forced train buy message for minors Reinstated full train cost list Method name changes related to limiting forced train buy message More aspects of Prussian formation OR start changed: all floated companies will run, even if the start package has not been sold yet (as can happen in 1835). Companies will lay home base when floated Fixed port token removal phase (5, was 6) Restrict map display area to hexes actually occurring in Map.xml. New preprinted tiles for 1825 unit 1 New preprinted tiles for 1825 unit 1 1825 Unit 1 (Phil Davies) 18AL: fixed 446 tile lay: on Birmingham only 1856: disallow selling share bought in the same SR turn Set GuiHints in resume to trigger rebuilding ORPanel Strengthen check on no-share-price-change when withholding Fixed CV start city in Toronto Removed pack() after recreate - it's unnecessary and undoes window sizing by user This commit was manufactured by cvs2svn to create tag 'rails_1_2'. Freek Dijkstra (6): Ignore tools directories for builds Add program icons Create build-mac target. While this creates a working .app for Mac OS X, this is considered alpha status. E.g. my.properties is ignored. Fix typo in path for jarbundler Fix indentation: XML files contain tabs Fix indentation: Java files contain 4 spaces, not tabs Mark J. Smith (16): MJS Test Commit, Comment added Removed TEST Line. Mark Smith testing Commit rights Added Upgrades for Tiles 3, 4 and 58 that were missing. When drawing Blocked Hexes for Privates, tested to be sure there are blocked entries in the list. Not all Privates Block Hexes. This Fixes the 1856 Map Drawing Issue Corrected starting orientation of Tile on B13 - Sarnia Change 'Bank=Bank' to 'BANK=Bank' to match how GameStatus line 471 will now use it. GameStatus.java will also be updated. Update the LocalText.getText("Bank") to LocalText.getText("BANK") Corrected the hasTokenOf(PublicCompanyI company) to get the Company Name and call hasTokenOf(String companyName). The previous use of the tokens.contains(company) failed since the ArrayList is of TokenI's not PublicCompanyI's. Update to only display the Select Station For Token Dialog if there is more than one city where the token can be placed Update to include Constructors. Added Constructors for proper intialization Added Constructors for proper initializing Added Constructors for proper initializing Added Constructors for proper initializing Improve Start Packet Handling so that only the left most item from the second available row is for sale, rather than the entire second row. Update OR Window Title to show 'Operating Round #.# of #, where the last # is the total number of Operating Rounds to be performed before going back to the Stock Round. Stefan Frey (36): 1889 stockround sequence corrected (SellBuyOrBuySell) Check for null in preventClosingConditions (just in case) Updated 1889 description Added NoMapMode as GameOption. Added shell script to create pdf of all tiles defined in Rails Add button to GameSetupWindow that allows randomizing the player order at startup. Fixed bug in randomize if player prefill is used. NoMapMode: Does not display the map (set to invisible). NoMapMode default "no" for 1889 Added noMap support for 1856 Minor fixes and improvements to NoMap OperatingCosts Added better support for B and C privates Activated third OffBoardRevenueStep Fixed stock round undo bug (ID: 2954657) Changed base class of ClosePrivate and OperatingCost actions to PossibleAction and PossibleOR in preparation of new Correction Actions Fixes undo bug for blocked home hex (bug #2954645) Fix of the undo tile lay bug (ID : 2954642, 2954984) After undo the number of tile lays is not updated correctly. TileLaysPerColour is state variable. Adds GenericState class. Fix of 2954654: Missing default value of doneAllowed in setPossibleActions of OperatingRound. Added CorrectionMode - first part Cash Correction Changed tileLaysPerColour state support from GenericState to MapChange. Fix of incorrect change of director if several candidates are available (bug 2962977) Re-Commit: Added support for game option additional 6 train to 18Kaas. Improved GUI support for cash corrections and some refactoring of the corrections package. Fix of undo problem: Stack position of token was not recovered correctly Added nextPlayerMessages and fixed reload bug of cashcorrection action. Fixed quotation in NextPlayerMessage CurrentRoundType and activePanel changed to state-type variables to allow undo between different round types. Removed generation of free entry operating costs action (can be done by cash corrections now) Added NoMap option to 1851 and 18Kaas, removed from 1856 GameOver and endedByBankruptcy are state variables, added EndofGameRound to allow undo. Change broken bank to state variable. Dialog handling changed to standard procedures. Fixed typo (= -> -) that caused Rails to freeze on zooms on NorthSouth-Maps Updated EndOfGame Handling (undo possible, ranking display step by step, updated forced share selling message display, LocalText) Added fix to allow zero cost token lay after removal of default operating costs actions. Improved cash correction dialog text and handling of "+" sign. ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |
From: Brett L. <wak...@us...> - 2011-07-17 19:35:55
|
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.1.3 has been created at 919bd0b063586b6d0f33a3cb257599e14e20b1f1 (tag) tagging 2a449ca2f381d9a8397af3abaee57bcc5852fa95 (commit) tagged by Brett Lentz on Sun Jul 17 12:29:22 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.1.3 Brett Lentz (256): 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. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add syncmail to commits mailing list. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 bump version to 1.1.1 update version string to 1.1.2 Apply Unlimited Trains patch from Freek Dijkstra <sf_...@ma...> Revert Freek Dijkstra's unlimited trains patch. We found a simpler way to implement this. Add unlimited tiles option back in. Bump version strings to 1.1.3 Erik Vos (761): 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 Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round Implemented request to show low-price colours in SR and OR panels. Changed minor token BG colour to light gray (to better distinguish from empty circles) Addes larger token font for short names (1 or 2 chars) Draw company names in their home cities rather than on the hex. Replaced track by pointy triangles in off-board tiles Map made zoomable. Removed Reproduced SVG tiles from TileDesigner. Removed GIF tiles Changed orientation of tile #4 to get the village right New SVG tile production. Some updates Adapted code for correct working with new set of SVG tiles. Better positioning and sizing of tokens and home indicators Fixed price token display Moved stepObject creation backwards to OR start() Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play. Fixed a misnamed constant. Fixed bonus token position on hex Formatting only Explicitly remove tiles at start of token mode (although that should have happened earlier). Unclear why that doesn't work. The disappearance of the tiles when another one is selected remains a mystery. Fixed disappearance of tiles if a selected and dropped tile is changed. Fixed wrong $1 token cost display when merging 2nd etc. minot into major. Fixed cert.limits for 3 and 5 players (which were swapped) Described 1856 limitation Added 2 chars of name to View string if no locations exist Fixed moving unsold Bridge/Tunnel tokens to GM/Bank Set seller of unsold Bridge/Tunnel tokens to Bank Fixed message text Removed option to select "common" actions in case of forced actions (i.e. a train discard). Minor cleanup Fixed in 1856: Some restructuring New tool (unfinished) Added Save, Load and Trim menu items Added equals() Prevent CGR getting more than 1 bonus of the same type (e.g. Bridge) Added option to undo setting to exercised (this is not actually used now) Added log message related to Bonus tokens Fixed bookkeeping on sold bonus tokens, in particular in relation to dropping duplicate tokens acquired by the CGR Clear display buffer after reload Minor cleanup 1856: allowing unlimited Bridge/Tunnel bonus tokens as a game option Fixed bug where CGR would in case of excess trains discard all 4-trains, in stead Cleanup help message at end of OR. Offboard value display made special throughout. Map is now visible during CGR formation (but the dialogs are still modal) Fix null "reached destination" created on an empty response. Added mayBuyTrainType() to fix incorrect 4-train buy option for 1856 CGR. Added a financials report to the end of each round. Bring ORWindow to front at certain actions Added "Has" and fixed second Select to SelectSomething fixed Select to SelectSomething Minor change Repack status window at start of switchableRound because for some reason it squeezes a that time. Added a precaution A null Destinations action is no longer sent to the server. Expose closedModel. Remove unused closed attribute. Added fixed text facility (used for "MERGE"in 1856) Set fixed text "MERGE" into loans model for merging companies Added getUpdate() to enable use as ModelObject. Added MERGE Added facility to hide closed company rows via a nested class RowVisibility Call update when object is set. Catch an unexpected error condition - to be sorted out later Removed unnecessary update() call Fix row visibility Minor cleanup Always allow SAVE Always add SAVE Permanently enable SAVE DiscardTrains was not handled after Load Both Game Status and OR/Map windows now hide closed company rows. Cleaned up imports Created common superclass GridPanel for GameStatus and ORPanel to abstract common features. Player worth is now recalculated at every certificate move (bug fix) Created non-modal version of CheckBoxDialog and a method to deal with such dialogs in the UI Managers. Added value 10 to tile #4 Added joinWithDelimiter Added messages for checkbox dialog Added nonmodal RadioButtonDialog2 and apply to Repay Loans Renamed some interfaces Renamed some interfaces Added missing company name parameter to repay loans display text Fixed phase-dependent revenues on non-offboard (red) hexes. More dialogs made modal Renamed New classes for the server-to-client communication Removed because unused Changes related to non-modal dialogs Fixed and added alwaysOnTop() Added alwaysOnTop() Added dependents to propagate updates Fixed company turn change issue Propagate row invisibility to ClickButtons Reworked updateUI() for use of GuiHints Defs->GuiDef name change Added missing SelectedHomeBase Fixed SelectedHomeBase message Abstracted some variables into methods, taking info from GameUIManager Changed comment Added GUIHInts Empties (may get redundant) Added GUIHints Added GUIHints Added some generic getters. Changes some unnecessary class attributes into local variables Added some generic getters. Use of GuiDef and GameDef New class, for game-engine parameter definitions Added '+' to version number to indicate experimental version Set game parameters in stead of some local variables Added orientation to a laid tile in the Game Report Fixed price typo Fixed missing upgrades Added getGameOptions() Moved comments on game options from 1830/Game.xml to here Changes structure of GameManager XML Moved various non-changing variables to gameParameters (via GameDef.Parm). Fixed addressed player for train discards games.properties no longer used Fixed escrow message Added Privates item to Info menu. Added special property info for PRR and B&O Moved <StockRoundRules> contents, misplaced in CompanyManager.xml, to existing <StockRound> element in Game.xml. Fix for companies not being able to start at lowest price. Clear visibility hints after loading Fixed bug in phases definition Added phase and train info to the status window Initial implementation of Autopass and RequestTurn Fixed bug Recreated (had somehow got mangled) Moved FMER start player from OR to GM object, as it must survive an OR change. Added "free" to tile lay on B20 to prevent confusing "normal cost" info bit. Added config setting to keep stockchart open. For future use (follow-up doesn't work yet) Added lowerCaseFirst() Localized extra tile and token messages by calling new getInfo() methods Added some info items. Use getInfo() Cleaned up unused import Adde dmessages for Info Removed description (now in superclass) Minor cleanups Added getInfo() Added and improved Info messages. Fixed: players were offered to buy >1 share from pool Added START_GAME (to replace null action after loading) Removed displayServerMessage() All displayMessage() methods moved to GameUIManager, which now uses the new nonmodal MessageDialog Added Message Added info about using custom property files Honour new UnlimitedTiles game option Added default gameoption values <GameOption> tags are processed again (and it's now documented why) Added check (perhaps redundant) Print game setup error to sysout too toString() simplified No change Reversed an equals condition to prevent null breaking it Fixed price determination of company buying pool shares Added getIndex (for debugging) Fixed looping bug: while() -> if () Moved nonmodal message display to end of updating UI Fixed: log was set too early Safety check on assigning game option value Allow passing working directory Updated comment In save file name suffixes, replace spaces and other nonword characters to underscores New tile for Birmingham 1851 Fixes to 18EU Pullmann problems Fixed Javadoc Minor fix to help message Fixed instantiation problem for 2nd etc. copy of unlimited quantity trains Discard Pullmanns to Pool, not ScrapHeap Cleanup & additional comment Fixed usage of amount/quantity Enabled UTC timezone as default for save file names Player worth is now updated at each price token move (except Undo and Redo) This commit was manufactured by cvs2svn to create tag 'rails_1_1_3'. Freek Dijkstra (6): Ignore tools directories for builds Add program icons Create build-mac target. While this creates a working .app for Mac OS X, this is considered alpha status. E.g. my.properties is ignored. Fix typo in path for jarbundler Fix indentation: XML files contain tabs Fix indentation: Java files contain 4 spaces, not tabs Mark J. Smith (16): MJS Test Commit, Comment added Removed TEST Line. Mark Smith testing Commit rights Added Upgrades for Tiles 3, 4 and 58 that were missing. When drawing Blocked Hexes for Privates, tested to be sure there are blocked entries in the list. Not all Privates Block Hexes. This Fixes the 1856 Map Drawing Issue Corrected starting orientation of Tile on B13 - Sarnia Change 'Bank=Bank' to 'BANK=Bank' to match how GameStatus line 471 will now use it. GameStatus.java will also be updated. Update the LocalText.getText("Bank") to LocalText.getText("BANK") Corrected the hasTokenOf(PublicCompanyI company) to get the Company Name and call hasTokenOf(String companyName). The previous use of the tokens.contains(company) failed since the ArrayList is of TokenI's not PublicCompanyI's. Update to only display the Select Station For Token Dialog if there is more than one city where the token can be placed Update to include Constructors. Added Constructors for proper intialization Added Constructors for proper initializing Added Constructors for proper initializing Added Constructors for proper initializing Improve Start Packet Handling so that only the left most item from the second available row is for sale, rather than the entire second row. Update OR Window Title to show 'Operating Round #.# of #, where the last # is the total number of Operating Rounds to be performed before going back to the Stock Round. ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |
From: Brett L. <wak...@us...> - 2011-07-17 19:35:48
|
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.1.2 has been created at c6f8a565429323811b044868fe8dc24ddd05bcd1 (tag) tagging f7aa1f3ff5575508182dacd232740aae4c618882 (commit) tagged by Brett Lentz on Sun Jul 17 12:29:35 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.1.2 Brett Lentz (252): 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. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add syncmail to commits mailing list. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 bump version to 1.1.1 update version string to 1.1.2 Erik Vos (668): 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 Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round Implemented request to show low-price colours in SR and OR panels. Changed minor token BG colour to light gray (to better distinguish from empty circles) Addes larger token font for short names (1 or 2 chars) Draw company names in their home cities rather than on the hex. Replaced track by pointy triangles in off-board tiles Map made zoomable. Removed Reproduced SVG tiles from TileDesigner. Removed GIF tiles Changed orientation of tile #4 to get the village right New SVG tile production. Some updates Adapted code for correct working with new set of SVG tiles. Better positioning and sizing of tokens and home indicators Fixed price token display Moved stepObject creation backwards to OR start() Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play. Fixed a misnamed constant. Fixed bonus token position on hex Formatting only Explicitly remove tiles at start of token mode (although that should have happened earlier). Unclear why that doesn't work. The disappearance of the tiles when another one is selected remains a mystery. Fixed disappearance of tiles if a selected and dropped tile is changed. Fixed wrong $1 token cost display when merging 2nd etc. minot into major. Fixed cert.limits for 3 and 5 players (which were swapped) Described 1856 limitation Added 2 chars of name to View string if no locations exist Fixed moving unsold Bridge/Tunnel tokens to GM/Bank Set seller of unsold Bridge/Tunnel tokens to Bank Fixed message text Removed option to select "common" actions in case of forced actions (i.e. a train discard). Minor cleanup Fixed in 1856: Some restructuring New tool (unfinished) Added Save, Load and Trim menu items Added equals() Prevent CGR getting more than 1 bonus of the same type (e.g. Bridge) Added option to undo setting to exercised (this is not actually used now) Added log message related to Bonus tokens Fixed bookkeeping on sold bonus tokens, in particular in relation to dropping duplicate tokens acquired by the CGR Clear display buffer after reload Minor cleanup 1856: allowing unlimited Bridge/Tunnel bonus tokens as a game option Fixed bug where CGR would in case of excess trains discard all 4-trains, in stead Cleanup help message at end of OR. Offboard value display made special throughout. Map is now visible during CGR formation (but the dialogs are still modal) Fix null "reached destination" created on an empty response. Added mayBuyTrainType() to fix incorrect 4-train buy option for 1856 CGR. Added a financials report to the end of each round. Bring ORWindow to front at certain actions Added "Has" and fixed second Select to SelectSomething fixed Select to SelectSomething Minor change Repack status window at start of switchableRound because for some reason it squeezes a that time. Added a precaution A null Destinations action is no longer sent to the server. Expose closedModel. Remove unused closed attribute. Added fixed text facility (used for "MERGE"in 1856) Set fixed text "MERGE" into loans model for merging companies Added getUpdate() to enable use as ModelObject. Added MERGE Added facility to hide closed company rows via a nested class RowVisibility Call update when object is set. Catch an unexpected error condition - to be sorted out later Removed unnecessary update() call Fix row visibility Minor cleanup Always allow SAVE Always add SAVE Permanently enable SAVE DiscardTrains was not handled after Load Both Game Status and OR/Map windows now hide closed company rows. Cleaned up imports Created common superclass GridPanel for GameStatus and ORPanel to abstract common features. Player worth is now recalculated at every certificate move (bug fix) Created non-modal version of CheckBoxDialog and a method to deal with such dialogs in the UI Managers. Added value 10 to tile #4 Added joinWithDelimiter Added messages for checkbox dialog Added nonmodal RadioButtonDialog2 and apply to Repay Loans Renamed some interfaces Renamed some interfaces Added missing company name parameter to repay loans display text Fixed phase-dependent revenues on non-offboard (red) hexes. This commit was manufactured by cvs2svn to create tag 'rails_1_1_2'. Mark J. Smith (16): MJS Test Commit, Comment added Removed TEST Line. Mark Smith testing Commit rights Added Upgrades for Tiles 3, 4 and 58 that were missing. When drawing Blocked Hexes for Privates, tested to be sure there are blocked entries in the list. Not all Privates Block Hexes. This Fixes the 1856 Map Drawing Issue Corrected starting orientation of Tile on B13 - Sarnia Change 'Bank=Bank' to 'BANK=Bank' to match how GameStatus line 471 will now use it. GameStatus.java will also be updated. Update the LocalText.getText("Bank") to LocalText.getText("BANK") Corrected the hasTokenOf(PublicCompanyI company) to get the Company Name and call hasTokenOf(String companyName). The previous use of the tokens.contains(company) failed since the ArrayList is of TokenI's not PublicCompanyI's. Update to only display the Select Station For Token Dialog if there is more than one city where the token can be placed Update to include Constructors. Added Constructors for proper intialization Added Constructors for proper initializing Added Constructors for proper initializing Added Constructors for proper initializing Improve Start Packet Handling so that only the left most item from the second available row is for sale, rather than the entire second row. Update OR Window Title to show 'Operating Round #.# of #, where the last # is the total number of Operating Rounds to be performed before going back to the Stock Round. ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |
From: Brett L. <wak...@us...> - 2011-07-17 19:35:41
|
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.1.1 has been created at 4fea9435925a9f65cdffbf3270836e7a729444e6 (tag) tagging b8d35a54e166d7c37a15b6768b907bcf0309d8b1 (commit) tagged by Brett Lentz on Sun Jul 17 12:29:47 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.1.1 Brett Lentz (251): 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. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add syncmail to commits mailing list. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 bump version to 1.1.1 Erik Vos (605): 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 Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round Implemented request to show low-price colours in SR and OR panels. Changed minor token BG colour to light gray (to better distinguish from empty circles) Addes larger token font for short names (1 or 2 chars) Draw company names in their home cities rather than on the hex. Replaced track by pointy triangles in off-board tiles Map made zoomable. Removed Reproduced SVG tiles from TileDesigner. Removed GIF tiles Changed orientation of tile #4 to get the village right New SVG tile production. Some updates Adapted code for correct working with new set of SVG tiles. Better positioning and sizing of tokens and home indicators Fixed price token display Moved stepObject creation backwards to OR start() Removed GUI status update which seems redundant and in any case caused crashes in solitaite/hotseat play. Fixed a misnamed constant. Fixed bonus token position on hex Formatting only Explicitly remove tiles at start of token mode (although that should have happened earlier). Unclear why that doesn't work. The disappearance of the tiles when another one is selected remains a mystery. Fixed disappearance of tiles if a selected and dropped tile is changed. This commit was manufactured by cvs2svn to create tag 'rails_1_1_1'. Mark J. Smith (16): MJS Test Commit, Comment added Removed TEST Line. Mark Smith testing Commit rights Added Upgrades for Tiles 3, 4 and 58 that were missing. When drawing Blocked Hexes for Privates, tested to be sure there are blocked entries in the list. Not all Privates Block Hexes. This Fixes the 1856 Map Drawing Issue Corrected starting orientation of Tile on B13 - Sarnia Change 'Bank=Bank' to 'BANK=Bank' to match how GameStatus line 471 will now use it. GameStatus.java will also be updated. Update the LocalText.getText("Bank") to LocalText.getText("BANK") Corrected the hasTokenOf(PublicCompanyI company) to get the Company Name and call hasTokenOf(String companyName). The previous use of the tokens.contains(company) failed since the ArrayList is of TokenI's not PublicCompanyI's. Update to only display the Select Station For Token Dialog if there is more than one city where the token can be placed Update to include Constructors. Added Constructors for proper intialization Added Constructors for proper initializing Added Constructors for proper initializing Added Constructors for proper initializing Improve Start Packet Handling so that only the left most item from the second available row is for sale, rather than the entire second row. Update OR Window Title to show 'Operating Round #.# of #, where the last # is the total number of Operating Rounds to be performed before going back to the Stock Round. ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |
From: Brett L. <wak...@us...> - 2011-07-17 19:35:34
|
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.1.0 has been created at bcc059a9236b40e644981ae68d4491f335ce80f9 (tag) tagging 8ca21c9d8f8f1293d4bc276e895a598f7678ae53 (commit) tagged by Brett Lentz on Sun Jul 17 12:29:56 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.1.0 Brett Lentz (250): 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. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add syncmail to commits mailing list. Add some missing authors. Add build.xml. Bump version to 1.0.7-rc1 Add batch file and shell script to cvs. Update version references to 1.0.7-rc2. Improve build.xml to better automate building a release. Update version to 1.0.7-rc3 bump version to 1.1.0 Erik Vos (583): 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 Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups Use new interface GameManagerI Implements new interface GameManagerI New constructors Apply new round initialisation logic. Added toString(). Apply new round initialisation logic. Apply new round initialisation logic Apply new round initialisation logic. Use new interface GameManagerI New method hasChild (String) New <AllowsMultipleBasesOfOneCompany> property to deal with 18EU Paris/Berlin/Vienna allowances. On merging, only ask the "replace token" question if a token can actually legitimately be laid. Cases like 18EU brown Paris are now also covered: a check is added that token replacement is only allowed if there is not yet a token in the same station. Fixed bug that disabled buying more than 1 "infinite quantity" train. Fix the previous fix (first item on next row was also set to buyable when the previous row had more than one item left). Added start packet item info to the StartRoundWindow. Start item status tooltips & colours Changed multi-parameter constructor to use varargs Basic loans taking and specific rules for 1856. Added 1856 loan interest payment (from all possible sources). Fixed code to remove compiler warnings Added 1856 loan repayment step at end of OR. Preparations for final loan repayment Minor changes, mainly about better integrating TrainManager and removing static access to it. CGR Formation round phase 1: repaying loans. CGR Formation round phase 1: repaying loans. 1856 CGR formation round Removed outcommented code Implemented correct CGR start price Added message to start merged company Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation Fixes to CGR formation. Removed unused imports Make CGR have 10% shares if max. 10 shares are issued. Fix to CGR share% display CGR 5% to 10% share conversion made undoable Minor change in imports Minor change in initialisation sequence Split off new class PublicCompany_State for 1856 CGR Added loadTakingAllowed as a Phase property Enabled village downgrading (as in 1856) Enabled village downgrading (as in 1856) Minor change in logging Add floating point parsing Added fractional certificate counts. Added fractional certificate counts. Use Unicode \u00bd for ½ (0.5) Fix: CGR 10% Pres share counts as 1 certificate Added boolean mustTradeTrainsAtFixedPrice (for 1856 CGR) Minor change in imports Special train buying rules for 1856 CGR Fix cert count display Fix loans display in OR panel Added running with borrowed train (CGR) Clarification added: 'price token' in stead of 'token' Various fixes to CGR formation and operation Clarified running with borrowed train (CGR): must withhold Certificate limits after CGR formation Implemented the certificate limit change after CGR formation. Made certificate limit variable for UI Added canClose attribute - CGR cannot close. Renamed PublicCompany_State to PublicCompany_CGR. Renamed PublicCompany_State to PublicCompany_CGR. Moved player share limit from Player to GameManager Remove duplicate debug log CGR price down on selling every *two* 5% shares Fix tile downgrading revenue -> value (to fix tooltips) revenue -> value Removed statics from some manager classes Added SerialVersionUID Rationalisation of StartPacket/StartItem initialisation code. Statics removed. 1856: Deduct $10 per outstanding loan from player worth. Simplified Defs.ClassName and Defs.Parm handling Implemented 1856 Bridge and Tunnel tokens Rationalised Bank, removing statics Removed statics from StockMarket (no longer a singleton) Fixed bug that prevented 1830 M&H/NYC swap Minor cleanups Spelling correction Reduced dependence on static access to MapManager CGR pres. must buy 2nd shars at first opportunity if not yet owned Fixed bug that OR did not end if last-running company bought first 6-train and CGR formed. Created basic mechanism to allow more games running in parallel at the server side (which itself will not be implemented anytime soon). Dead code removal ReportBuffer and DisplayBuffer made instantiatable Removed some not really necessary interfaces. Extended ConfiguableComponentI interface to include final (post XML-parsing) initialisation. Used it to remove several more static methods & calls. MapManager & TrainManager config. updates TrainManager - removed static instance variable. Payments are rounded up Added message for payouts More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage More rationalising of static method usage 1856 marked "Fully playable" Fixed some bugs: Fixed impassable hexsides New RunGame class to start game and pickup load file argument Print arguments buildinfo Ant script to create BuildInfo.java as a separate Ant job Fix brown share buying cost problem Display bars to show impassable hex sides Removed Cleanups Have the working directory as the default for saving/loading files. Added missing city names Moved clearing DisplayBuffer ro GameManager. Added missing city names Fixed: error if price token moves down. Fixed bug that left BidAmount disabled after a reload Fixed various bugs Fixed prioritysetting bug during start round Comment on Erie removed from 1830 game notes Made Save follow Load directory Allow not buying a train when trainless, with a warning that this is only allowed without a route Two new config variables to tweak the predefined save filenames Suffix special value to insert next player name Undoing the passing-player-cannot-bid-again fix for 1830-style auctions. Fixed bug that price wasn't adjusted at emergency share selling MInor change (separate var. numberSold) Added new GameOption "LeaveAuctionOnPass" to 1830-style games Fixed bug that made old actions stick to a button Check on honouring a fixed train price Added getRoundName() Fixed missing deserialization statements. These cause all train prices becoming $0 on a reload Better handling of load errors. Check for player index <0 Allow negative values & reorder with minus always in front Change bar colour from black to blue Alllow negative train cost; subtract train sale amount from seller Link sale to previous move (Undo must affect both) Name change only Scroll down ReportWindow after load. Fixed missing argument for 'sold' message Changed window title Enable initial visibility Enable initial report window visibility Added report.window.open and or.number_format Enable empty lines Beautified report window contents & log Added option to make Report Window editable, and to save from and load files into this window Added Find functionality to Report Window Replaced tile -901 by -800 for ports Call update() on token exchange to update map. Added round type check to updateStatus(), to prevent errors on map updates outside OR (such as token exchanges) Aded missing messages on token exchanges on merging. On the M&H/NYC swap, check if NYC floats. Improved token exchange texts Added some missing required private speciral property attributes Added train price overview Added coordinate grid Fixed bug in determining end of round This commit was manufactured by cvs2svn to create tag 'rails_1_1_0'. Mark J. Smith (16): MJS Test Commit, Comment added Removed TEST Line. Mark Smith testing Commit rights Added Upgrades for Tiles 3, 4 and 58 that were missing. When drawing Blocked Hexes for Privates, tested to be sure there are blocked entries in the list. Not all Privates Block Hexes. This Fixes the 1856 Map Drawing Issue Corrected starting orientation of Tile on B13 - Sarnia Change 'Bank=Bank' to 'BANK=Bank' to match how GameStatus line 471 will now use it. GameStatus.java will also be updated. Update the LocalText.getText("Bank") to LocalText.getText("BANK") Corrected the hasTokenOf(PublicCompanyI company) to get the Company Name and call hasTokenOf(String companyName). The previous use of the tokens.contains(company) failed since the ArrayList is of TokenI's not PublicCompanyI's. Update to only display the Select Station For Token Dialog if there is more than one city where the token can be placed Update to include Constructors. Added Constructors for proper intialization Added Constructors for proper initializing Added Constructors for proper initializing Added Constructors for proper initializing Improve Start Packet Handling so that only the left most item from the second available row is for sale, rather than the entire second row. Update OR Window Title to show 'Operating Round #.# of #, where the last # is the total number of Operating Rounds to be performed before going back to the Stock Round. ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |
From: Brett L. <wak...@us...> - 2011-07-17 19:35:27
|
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.6 has been created at 8ef157ae254d11f35676246ccc63883542dd3ac5 (tag) tagging c6cf78c397f091889d1b99b4f25e9efb5b28e07e (commit) tagged by Brett Lentz on Sun Jul 17 12:31:20 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.0.6 Brett Lentz (245): 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. Fix fill-rule. It's evenodd, not even-odd. Applying patch from Freek Dijkstra. Applying patch from Freek Dijkstra. Move </html> to the right line. Add syncmail to commits mailing list. Add some missing authors. Erik Vos (425): 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 Formatting standard Removed blank line between field declarations Formatting preferences Trial reformats Reformatted OR number changes made undoable Cleanups, mostly to remove static references to GameManager and some other classes. Use of new Defs class for definitions common to UI and server. New class to hold definitions common to UI and server Some more cleanup of statics More cleanup of static methods Fixed player cash Fixed bugs in B&O private buying. Improved start price setting prompt Various bug fixes Updated XML for cases where 2 yellow tile lays are allowed. The syntax had been changed with the implementation of 18EU. Formatting only Fixed special properties initialsation (again - previous fix was wrong) Removed numberOfPlayers - this caused 1835 to abort at the very start Removed some debugging statements Formatting only Configured some of the private special properties Added NDY closing condition Reimplemented private closing conditions Started reimplementing private company closure when exercising special properties in a more generic way Implemented private closure at end of OR turn if special propoerties are exercised (appplies to 1856 W&SR) Implemented unavailability of certain shares at game start in 1835 and 1856 (CGR) Implemented initial unavailability of shares. Removed test values Fixed bug that prevented company start Reorganized "getPrice" methods of PublicCompany. Renamed setParPrice and setCurrentPrice Implemented varying flotation percentage for 1856. Fixed 1856 float percentage (was incorrectly linked to phase rather than next available train) Removed isLayableNow() Added custom OperatingRound Added destination reached condition New setNextOperatingCompany method & some refactoring to allow specific 1856 rules in a subclass New class for specific first operation rules Added message "MayNotYetOperate" to signal 1856 condition Removed dead code Improve display (Jonathan's fix) New (initial) capitalisation type. Fixed upgrade (and downgrade) rules. New dialog (added for destination reaching) Implemented 1856 capitalisation rules. ReportWindow changes (Jonathan) Removed dead code Fixed 1851 Louisville green upgrade bug: L&N token not displayed Small cleanup Added confirmation question on closing StatusWindow Allow selection of 1830 Erie home base station while upgrading to green. Small cleanup Mark initial yellow OO/XX cities to reposition any (home) tokens when upgraded to green (needed for 1835 Badische and 1856 THB) Window now remembers position and height between rounds. Cleanups Cleanups Could remove WindowListener methods (mostly unused) by passing WindowAdapter into addWindowListener. CLeanup Cleanups only Initialisation fixed Localised some hardcoded text Bug fix in flotation check when merging a minor Cleanups, annotations, formatting. Cleanups, annotations, formatting Fixed missing companies as merge targets Undone previous fix, which was wrong. Small cleanups This commit was manufactured by cvs2svn to create tag 'v1_0_6'. Mark J. Smith (14): MJS Test Commit, Comment added Removed TEST Line. Mark Smith testing Commit rights Added Upgrades for Tiles 3, 4 and 58 that were missing. When drawing Blocked Hexes for Privates, tested to be sure there are blocked entries in the list. Not all Privates Block Hexes. This Fixes the 1856 Map Drawing Issue Corrected starting orientation of Tile on B13 - Sarnia Change 'Bank=Bank' to 'BANK=Bank' to match how GameStatus line 471 will now use it. GameStatus.java will also be updated. Update the LocalText.getText("Bank") to LocalText.getText("BANK") Corrected the hasTokenOf(PublicCompanyI company) to get the Company Name and call hasTokenOf(String companyName). The previous use of the tokens.contains(company) failed since the ArrayList is of TokenI's not PublicCompanyI's. Update to only display the Select Station For Token Dialog if there is more than one city where the token can be placed Update to include Constructors. Added Constructors for proper intialization Added Constructors for proper initializing Added Constructors for proper initializing Added Constructors for proper initializing ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |
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 |
From: Brett L. <wak...@us...> - 2011-07-17 19:35:14
|
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.3 has been created at 28619cf1214fa44ab08c13d4b0811a923993c470 (tag) tagging 02d4bdf222db7b58f696baa638610ebe93b169ae (commit) tagged by Brett Lentz on Sun Jul 17 12:30:26 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.0.3 Brett Lentz (216): 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 Erik Vos (239): 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 This commit was manufactured by cvs2svn to create tag 'rails_1_0_3'. ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |
From: Brett L. <wak...@us...> - 2011-07-17 19:35:07
|
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.2 has been created at bad16ff9e92396ddcb9ea7206b12fa5b256ccec9 (tag) tagging 910fdefd19c93e78ebad6ae7dcf1a8841e721188 (commit) tagged by Brett Lentz on Sun Jul 17 12:30:41 2011 -0700 - Log ----------------------------------------------------------------- Rails v1.0.2 Brett Lentz (203): 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 Erik Vos (188): 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). This commit was manufactured by cvs2svn to create tag 'rails_1_0_2'. ----------------------------------------------------------------------- hooks/post-receive -- UNNAMED PROJECT |
From: brett l. <bre...@gm...> - 2011-05-23 16:44:15
|
There was a bug in the build files used to build the released package. This issue has been corrected. New release files have been uploaded to Sourceforge. Please re-download the corrected packages. ---Brett. On Sun, May 22, 2011 at 4:27 PM, James Cheevers <ja...@vi...> wrote: > Hi, > > I've just installed 1.4.2 and tried to open my existing games but the > map screen is not loading the maps for any of the games. The status and > report screens are fine, just the map. > > Is anyone else getting this? > > James > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Rails-users mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-users > |
From: brett l. <bre...@gm...> - 2011-05-22 21:32:40
|
A new version of Rails is now available. This release includes preliminary work on 18SCAN, 18TN, 18GA, the Coalfields and Reading variants of 1830. Also included is several fixes to a variety of bugs as well. Files are available here: https://sourceforge.net/projects/rails/files/Rails/1.4.2/ For developers, the updated Javadoc is available here: http://rails.sourceforge.net/javadoc/index.html Thanks to everyone who helped out on this release! ---Brett. |
From: brett l. <bre...@gm...> - 2011-02-01 18:45:10
|
I'm pleased to announce the release of Rails 1.4.1. This is primarily a bug-fix release. Full changelog is available on our wiki: https://sourceforge.net/apps/mediawiki/rails/index.php?title=Change_Log Files are available via the sourceforge site: https://sourceforge.net/projects/rails/files/Rails/1.4.1/ In addition to the release, I've finally gotten around to including generating Javadoc as a part of the release process. The Javadoc is linked off of our main http://rails.sourceforge.net page. The direct link to the javadoc is http://rails.sourceforge.net/javadoc/index.html . My hope is that this helps existing and prospective developers navigate and understand the code. ---Brett. |
From: brett l. <bre...@gm...> - 2010-08-29 17:39:04
|
I'm pleased to announce the general availability of the latest version of Rails, version 1.4. Downloads are available at http://rails.sourceforge.net/ or by the direct link https://sourceforge.net/projects/rails/files/Rails/1.4/ Some release highlights: * Configuration UI - Configuration settings are available both at the StartUp window and under Options=>Configuration. - Settings are/have to be stored as profiles in a configuration file * New configuration options (especially for ftf) - Autosave option - Adjustable Font styles and sizes - Map autoscrolling * Game history - Report window replaced by GameHistory window, that allows to go backwards and forward through the game report. Start of replay at any position possible. - Old report window can be activated via configuration. - Uses undo mechanism, thus might still hang sometimes. * Other bug fixes - Fixes for 1856 and 18EU undo problems. - Improved revenue calculation (10-30% faster) ---Brett. |
From: brett l. <bre...@gm...> - 2010-06-03 16:49:35
|
On Mon, May 31, 2010 at 7:27 AM, brett lentz <bre...@gm...> wrote: > I'm pleased to announce that Rails 1.3 is now available. > > This release adds an initial implementation of automated route and > revenue calculation as well as bug fixes for 1830, 1856, 1889. Also in > this release is revised documentation on how well-supported each game > is. > > Download the new release at http://rails.sourceforge.net/ > > ---Brett. > Apologies all around. An issue with my e-mail prevented me from sending out a proper changelog with my announcement. So, here is the changelog for 1.3: * Tile and Token Laying - Hexes which are eligible for tile and token lays are highlighted - Only a game hint, not enforced. * Revenue Calculation - Maximum revenue for the owned trains is suggested - Presetting for the revenue entry, has still to be confirmed or can be adjusted - Should incorporate all game specific rules, including bonus rules * Map Correction - Downgrade of tiles is now possible - Only tile availability is checked, otherwise no restrictions are applied - Tile lays that require the re-laying out of tokens are not possible * General - Prevent 'foreign' token being layed on reserved home token slots. - Fixed bugs in OO-tile and token laying. - Fixed occasional incorrect priority deal assignment after 1830-style auctions. - Fixed disappearance of last (highest) train bought. - Added option to fix tile orientation (used for 1835 Hamburg). * 1830 - Fixed possibility of buying a Diesel at exchange price without an exchange taking place. * 1835 - Finished/Fixed Prussian formation - Allow 100% share ownership and nationalization. - Bugs in initial round player order (Clemens variant) and BY flotation. - Added several variant options. * 1856 - (also for 18EU) added (invisible) City object to Goderich/Hamburg tile to facilitate revenue calculation. - Fixed bug in effect of repeated 5% CGR share sales on share price. - Fixed W&S token lay cost problem. * 18EU - Fixes for bankruptcy rules (not yet tested under all possible circumstances). |
From: Jeff F. <fe...@op...> - 2010-05-31 14:45:58
|
I just loaded up an 1830 save file in which I ended the previous OR by exchanging a 4 train for a D. When I make the move and save the file (using either Rails 1.2.2 or Rails 1.3), Rails 1.3 says it's an illegal move and rewinds the game back to the buy train step. It's definitely legal, and Rails 1.3 lets me do it, but it won't let me load up a save containing the move. Jeff brett lentz wrote: > I'm pleased to announce that Rails 1.3 is now available. > > This release adds an initial implementation of automated route and > revenue calculation as well as bug fixes for 1830, 1856, 1889. Also in > this release is revised documentation on how well-supported each game > is. > > Download the new release at http://rails.sourceforge.net/ > > ---Brett. > > ------------------------------------------------------------------------------ > > _______________________________________________ > Rails-announce mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-announce > > > |
From: brett l. <bre...@gm...> - 2010-05-31 14:28:08
|
I'm pleased to announce that Rails 1.3 is now available. This release adds an initial implementation of automated route and revenue calculation as well as bug fixes for 1830, 1856, 1889. Also in this release is revised documentation on how well-supported each game is. Download the new release at http://rails.sourceforge.net/ ---Brett. |
From: brett l. <bre...@gm...> - 2010-03-21 18:02:01
|
This releases fixes a critical bug that affects the playability of 1856. All users of 1.2 should update to 1.2.2. The new release may be downloaded from here: https://sourceforge.net/projects/rails/files/ ---Brett. |
From: brett l. <bre...@gm...> - 2010-03-18 05:38:15
|
This releases fixes a critical bug that affects the playability of 1830 and 1889. Also included is a fix to the rails.sh shell script. All users of 1.2 should upgrade. ---Brett. |
From: brett l. <wak...@gm...> - 2010-03-14 19:50:15
|
The Rails team is pleased to announce the availability of a new version of Rails. You can download the latest version here: https://sourceforge.net/projects/rails/files/Rails/1.2/ Some highlights from this release are: * No Map Mode (for improved use as a table top game moderator) - Replaces Token and Tile lay actions with a simple Operating Cost button - Only supported for 1830, 1851, 1889, 18EU and 18Kaas (1856 and 18AL have special Token Lays) * Cash Correction in Moderator Menu - Allows moderators to adjust the cash position of players and floated Companies - When adjustments are made, a message is added to the Report Window and a warning to the next Player will be displayed * 1889 support - Full implementation of the rule set - Limitation in forced selling: Change of director in other companies is not prevented by Rails (see rule 10.6.2), thus House rule to play that like 1830 is possible. Otherwise end the game at that point. - Beginner Game includes all changes as defined in the rule book. * Several bug fixes to the undo mechanism - Undo of end of game conditions and from the end of game window is possible. - It is (should) be possible now to cross round boundaries using the forced undo mechanism. - IMPORTANT: Undoing any action that moves tokens back on the same stock space can cause the token stack to be mixed up. This can cause games being in a corrupt state and save files to be unloadable. (this is true for all previous Rails releases including 1.1.3) * Many more bug fixes, especially to 1856, 18EU, 18AL. ---Brett. |
From: brett l. <bre...@gm...> - 2010-03-12 17:38:59
|
Hey gang - I've created two new mailing lists: rails-users and rails-announce. The -users list will be for non-technical discussions, gameplay and rules interpretation discussions, and support requests from users. The -announce list will be for anybody that wants to skip the discussions and just hear about new releases. It'll be a very low traffic list that's only used to distribute major news. ---Brett. |