head 1.4; access; symbols pkgsrc-2018Q1:1.3.0.48 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.46 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.44 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.40 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.38 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.36 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.34 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.32 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.30 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.28 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.26 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.24 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.22 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.20 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.18 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.16 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.14 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.12 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.10 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.8 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.6 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.4 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.2 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.2.0.12 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.10 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.8 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.6 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.2 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.1.0.4 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.2 pkgsrc-2010Q3-base:1.1; locks; strict; comment @# @; 1.4 date 2018.06.24.16.02.50; author adam; state dead; branches; next 1.3; commitid pG1R2oG2UfKEbyHA; 1.3 date 2012.07.18.06.37.42; author adam; state Exp; branches; next 1.2; 1.2 date 2011.02.24.13.36.57; author adam; state Exp; branches; next 1.1; 1.1 date 2010.08.28.20.08.40; author adam; state Exp; branches; next ; desc @@ 1.4 log @wesnoth: updated to 1.14.3 Version 1.14.3 AI * Fixed crash in presence of units with negative hitpoints (issue 3042). * Efficiency improvements to filter evaluations in the Goto Micro AI and some AI helper functions Campaigns * Dead Water: * Fix possibility of villagers blocking pickup of sword in S10 The Flaming Sword (issue 3207). * Descent Into Darkness: * New Parthyn map in S1 and S6. * Northern Rebirth: * Reduced starting gold and income in scenarios 10 to 13 * Secrets of the Ancients: * Fix S09 Training Session not ending when all dark adepts die (issue 3192) * Tutorial: * S2: made enemy starting gold equal to that of the player. * Under the Burning Suns: * Added portrait and updated sprite for Giant Ant. Language and i18n * Updated translations: British English, Chinese (Traditional), Czech, French, Italian, Japanese, Scottish Gaelic, Spanish Multiplayer server * Fixed lan_server option not causing the server to exit once vacated, e.g. when using the Host Networked Game option from the Multiplayer menu in the game (issue 3206). Music and sound effects * The music now changes immediately when you load a save file (issue 2602). * Fixed Lua errors when setting a music track that cannot be found when the playlist is already empty, e.g. if there's no music installed for the game (issue 3194). WML engine * Removed validation to ensure units cannot have negative hitpoints. We learned that the ability to create such units is documented, and thus disallowing it was an API change. Since API changes aren't allowed in the stable branch, we have reverted it. Miscellaneous and bug fixes * Fixed an occasional crash at the loading screen related to multi-thread access of the image cache. * [kill] animate=yes no longer scrolls to units through fog or shroud, thus matching 1.12's behavior again. * [message] displays the unit type name when a nameless unit speaks and no custom caption= is specified (issue 3211). * do_not_list=yes units are no longer excluded from the debug mode-only Create Unit dialog. * Fixed a rare issue where disabled attacks could cause the wrong attack to be initially selected in the Unit Attack dialog. This bug also had the potential to cause units to the wrong attack when engaging or viewing damage calculations. * Fixed [scenario] map_file= being unusable in most circumstances. Version 1.14.2 Campaigns * Northern Rebirth: * S02.1 Infested Caves: keep side 8 AI leader from wandering off too far and ending up on a keep with only one hex for recruiting. * S02.1 Infested Caves: AIs are less likely to kill each other in early game, which would make it harder for the player otherwise. * S02.1 Infested Caves: Dwarvish allies are also less likely to die. * S02.1 Infested Caves: minor map tweaks and improvements. * S05 The Pursuit: removed a bottleneck and tweaked Rod of Justice. * Sceptre of Fire: * In 'Caverns of Flame', fixed various issues with the volcano eruption. * Under the Burning Suns: * Various Quenoth unit graphics updates. * Descent into Darkness: * In 'A small Favor', disabled a not intended way to win the scenario. * Secrets of the Ancients: * Bats are transformed to normal ones already after S5 Graphics * Fixed a minor team coloring mistake in the north-facing Revenant standing animation. Language and i18n * Updated translations: British English, Chinese (Simplified), Czech, French, Galician, German, Italian, Japanese, Scottish Gaelic, Spanish, Ukrainian User interface * List boxes (MP lobby game list in particular) now keep the scroll position when they change, instead of keeping the selected item visible (issue 3016). * Fixed MP lobby player list scrolling to top when it changes * Fixed the first unit sometimes not being selected when opening the Recall dialog. * Fixed a crash when using very large portraits in [message] (issue 2912) * Added a button to access the version info dialog to Preferences. * Removed player list sorting options in the MP lobby. The list is now automatically sorted alphabetically, friends first. * Rearranged campaign difficulty menu layout Terrains * Removed hidden terrains that were not supposed to make it to 1.14: ^Prg, ^Prgo, ^Pwd, ^Pwdo Miscellaneous and bug fixes * Fixed memory leak in terrain filter code. In a huge map with Silver Mages, it could leak several gigabytes of memory in a long session. * Fixed: unit halo remained after undoing a recall (issue 3065) * Fixed: unit halo intensity doubled during AMLA animation * [change_theme] no longer causes a Lua error when theme= is not specified instead of explicitly set to an empty string. * [change_theme] no longer requires running a separate action to update the UI afterwards (e.g. [redraw]) and the status panels are updated immediately. as well. * Lua random map generator: fixed error when flipping map; specifically this also fixes an assert at the start of HttT S7 (Sceptre of Fire) that had a 50% chance of being triggered * Experimental AI: fixed recruiting not working on maps without enemies, such as the first two turns of Dark Forecast * Experimental AI: fixed recruiting evaluations sometimes not being updated * Replaced deprecated Lua code and all remaining uses of FOREACH and MESSAGE macros * Fixed [color_adjust] interacting poorly with time of day color shifts and values outside the [-255, 255] range (issue 3144). * Fixed a regression from 1.13.10 where modification option values couldn't be properly saved in arrays. * Added stricter validation to ensure units cannot have negative hitpoints, except during specific attack-related events. * Added deprecation notices for several macros that had them missing before. * [message] no longer scrolls to units through fog or shroud so it matches 1.12's behavior. * Fixed animation-wide text_color and blend_color keys being overwritten. This fixes level-in and level-out animations sometimes fading to black instead of white. * Fixed [animate_unit] freezing the game when observing MP games (2970). * Fixed carryover behaving differently when loading a start-of-scenario save (issue 3152). * Fixed turn replay function in MP. * Fixed savegames being created even when not needed (issue 3150). * Fixed handling of extra_recruit in planning mode (issue 3100). * Fixed handling of skirmisher in planning mode. * Fixed handling of filter_recall in planning mode. * Fixed possible segfault at game end. * Fixed require_resource in [resource]. * Fixed require_scenario=yes not working with map_generation (issue 3105). Version 1.14.1 Campaigns * Eastern Invasion: * In 'Captured', fixed units incorrectly costing upkeep after leveling up. * Secrets of the Ancients * Fixed minor unit naming inconsistencies (issues 2844 and 2846). * Under the Burning Suns * Added custom graphics for the broken tree in S1. * Various sprite and image updates. * Fixed a bug in the formation ability causing defense bonuses not being received in some cases. Language and i18n * Updated translations: British English, Chinese (Simplified), Czech, French, Galician, German, Italian, Japanese, Scottish Gaelic, Slovak, Spanish * Fixed Logging Options tooltips not being translatable (issue 2837). * Add command-line argument to disable the filtering of incomplete translations in the language selection list. Multiplayer server * Added support for matching user, IP, and email bans from a forums board when the forum_user_handler is enabled and active. (IP and email bans with wildcards are not supported yet.) * Fixed various instances of the server crashing under certain conditions. Performance * Added an option to disable the FPS limiter for a slight performance boost. Units * Changed the plural name for the merfolk race from Mermen to Merfolk (issue 2940) and replaced a few instances in core unit or terrain descriptions accordingly. User interface * Removed individual Join/Observe buttons for each game in the MP Lobby. * Highlight the titles of MP games with vacant slots. * Improved MP Lobby layout on low resolutions. * Improved reporting of network errors in the MP lobby (issue 3005). * Ensure the chat widget remains the correct size even after a window resize. * Custom MP game names are now capped at 50 characters. * Restored Era info to main MP game display. * Improved the resolution selection criteria for the MP Lobby. * Fixed inactive weapon specials being displayed in the Unit Attack dialog unlike in 1.12 (issue 3033). Miscellaneous and bug fixes * Removed misleading tooltip text stating registered nicknames are optional for the official MP server. * Attempting to save a screenshot with an unsupported format now shows an error message, instead of saving the screenshot as BMP with the requested extension. * It is now possible to disable logdomains in the Logging Options dialog. * Fixed the wesnoth(6) manpage claiming the default log level is 'error' when it has been 'warning' since version 1.9.0. * Document --log-none in the wesnoth(6) manpage. * Avoid trying to load invalid base64-encoded data URIs. * wesnoth_addon_manager and the addons.wesnoth.org web index can now use data URIs. * Fixed a crash when using certain invalid color= values. * Implemented a workaround for an unhandled std::bad_cast from string comparison functions that caused a crash-to-desktop when opening Preferences among others (issue 3050). * Fixed many crashes and out-of-sync errors when using the planning mode. Version 1.14.0 Campaigns * Under the Burning Suns * New set of Quenoth faction and character portraits by LordBob. * Updated sprites for several Quenoth units. * Fixed "Invalid WML found" error that can be caused by the Quenoth Youth support ability. Help browser * Temporarily hidden Editor section as it is mostly incomplete and of little use right now (issue 2963). Language and i18n * Fixed Version label on the title screen not being translatable (issue 2914). * Updated translations: Czech, French, Galician, German, Japanese, Polish, Scottish Gaelic, Slovak, Spanish Multiplayer * Fixed regression causing a crash-to-desktop when trying to log into the server using a registered and active account without specifying a password. * Fixed an infinite loading screen if the server shut down or restarted mid-login. * Fixed an infinite loading screen when attempting to login with an unregistered nickname followed by a registered one. * Dark Forecast: Fixed possible Lua error when the weather changes. User Interface * Implemented MP chat message history saving (issue 1194, issue 2802). * Fixed context menus not dismissing on right click. Miscellaneous and bug fixes * Fixed an AI assertion when a unit with one disabled attack attacked a unit with no attacks or a single disabled attack. @ text @$NetBSD: patch-ah,v 1.3 2012/07/18 06:37:42 adam Exp $ Fix C++ error. --- src/controller_base.cpp.orig 2011-02-24 12:28:03.000000000 +0000 +++ src/controller_base.cpp @@@@ -50,6 +50,7 @@@@ void controller_base::handle_event(const if(gui::in_dialog()) { return; } + SDL_Event new_event; switch(event.type) { case SDL_KEYDOWN: @@@@ -76,7 +77,6 @@@@ void controller_base::handle_event(const break; case SDL_MOUSEMOTION: // Ignore old mouse motion events in the event queue - SDL_Event new_event; if(SDL_PeepEvents(&new_event,1,SDL_GETEVENT, SDL_EVENTMASK(SDL_MOUSEMOTION)) > 0) { while(SDL_PeepEvents(&new_event,1,SDL_GETEVENT, @ 1.3 log @Changes 1.10.3: * Campaigns: * Heir to the Throne: * Fixed bug 19531: scroll to reinforcement units in Blackwater Port * Fixed bug 19517: The injured sergeant in HttT: Cliffs of Thoria will now always become visible when he is discovered. * Under the Burning Suns: * Made it so that all units are rehydrated quietly upon victory in scenario two * Under the Burning Suns: * Fix bug 19630: unit lost when Nym returns * Dust Devil no longer comments on cuttlefish * Wolf Riders now utter fleeing message on easy in scenario 3 * Editor: * Improved performance of the Editor Settings ToD lighting controls * Language and i18n: * Fixed untranslatable Cancel button label in the add-ons server network status dialog (bug 19659) * Updated translations: Chinese (Simplified), Finnish, French, Galician, Irish, Italian, Korean, Latin, Old English, Portuguese (Brazil), Russian * Multiplayer: * A New Land: * Made it so that the "Elvish Shaman" option in the elvish unit selection menu gets translated. Fixes bug 19677. * User interface: * Stop showing a unit's potential moves before moving in a move & attack, rather than after (more consistent with regular movement) * Whiteboard: * Fixed bug 19613: Multiple attacks after planning attacks in whiteboard * Fixed bug 19619: In local games, units keep ghosted appearance during opponent's turn * Fixed bug 19618: Problems with ending turn with impossible moves * Fixed bug 19615: Can see part of opponents' planned moves in local multiplayer game * WML engine: * Fix $owner_side in capture events fired due to unit movement * Miscellaneous and bug fixes: * Fixed: A preprocessor bug looking beyond the end of a buffer. * Fixed: Binding a temporary in the network code, possibly causing crashing. * Fixed bug 19469: Missing scenario hash results in Remote scenario always added to game description * Fixed bug 19322: controller=null hides a side in the status table * Fixed bug 19681: cache is never valid tweaked the number to string conversion of config_attribute * Fixed bug 16544: Fail to read `empty' cache files. * Added shroud_data to the inspection window (FR 19623). * Fixed: Wrong current side number after side turns (bug 19735) It also affected the lua field wesnoth.current.side @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.2 2011/02/24 13:36:57 adam Exp $ @ 1.2 log @Changes 1.8.5: * AI: * Fixed bug 16406: Fixed broken AI of SoF 1, and improved upgrade procedure for old-style AI config. * Fixed bug 16585: made AI move in targeting phase even if for some of the 'best' units moves to targets are impossible * Campaigns: * Descent into Darkness: * Made 'Alone at Last' easier. * Legend of Wesmere: * Added another keep in scenario 14. * Editor: * Added a standard click sound for brush bar buttons (bug 15635) * Graphics * Updated portraits for Drake Fighter and Burner * Language and i18n: * Updates fonts: DejaVu 2.32 * Updated translations: Chinese (Simplified), Chinese (Traditional), Czech, Dutch, Estonian, French, Galician, German, Hungarian, Indonesian, Japanese, Lithuanian, Polish, Russian, Serbian, Slovak, Vietnamese * User interface: * Fixed bug 16653: Avoid markup when calculating the text length for ellipse text (Debian bug 547476). * Fix bug 15960 "again", making "Cancel" a separate action and not just a duplicate of "OK." * Fix crash when doing teleport+attack to a fogged village @ text @d1 1 a1 1 $NetBSD$ d7 1 a7 1 @@@@ -54,6 +54,7 @@@@ void controller_base::handle_event(const d15 1 a15 1 @@@@ -71,7 +72,6 @@@@ void controller_base::handle_event(const @ 1.1 log @Changes 1.8.4: * AI: * Fixed bug #16102: Made AI cancel attacks if a previously valid attack was made invalid by WML event after move in move+attack sequence. * Allowed custom eras to define Lua AI modifications for games played with this era. * Campaigns: * Delfadors Memoirs: * Make Lionel's portrait in Delfador's Memoirs story screens the same as his unit portrait since there doesn't seem to be a current higher-res version available * Descent into Darkness: * Made 'Alone at Last' slightly easier. Also, Dela is no longer invulnerable but cannot be assassinated easily. * Legend of Wesmere: * removed gold overlay when defeating both leaders * Reduced the difficulty of scenario 14 and improved the AI of the ally. * Liberty: * Increased the difficulty in 'Glory' by making the defenders behave more intelligently. * Language and i18n: * Updated translations: Chinese (Simplified), Galician, Japanese, Serbian, Vietnamese * Flushed image cache when changing language * Miscellaneous and bug fixes: * Ensured graceful failure when encountering broken [advancefrom] tag. * Handled ToD areas in a LIFO way, so that it is possible to override them without first removing them * Avoided displaying an empty menu and therefore choosing a random weapon, when there is none * Added detection for server replays, as they are missing the core [lua] tags * Fixed attack_end event not raised for uncommon swarm attacks * Added test for invalidated death due to positive hp after the 'die' event * 1.9 syntax creeped into 1.8.x causing segfaults * Fixed petrifying in multiround combats * Fixed reference binded to a temporary, possibly the cause of the failure on arklinux * Never allow uploading *.pbl files (case-insensitive) to the add-ons server from the regular game client * Fixed revision.hpp generation with cmake 1.8(.2) * Fixed usage of first PKG_CHECK_MODULES inside a shell conditional * Fixed broken attack animatio @ text @d3 9 a11 10 --- m4/boost.m4.orig 2010-05-27 07:42:52.000000000 +0000 +++ m4/boost.m4 @@@@ -463,7 +463,7 @@@@ AC_DEFUN([BOOST_GRAPH], AC_DEFUN([BOOST_IOSTREAMS], [BOOST_FIND_LIB([iostreams], [$1], [boost/iostreams/device/file_descriptor.hpp], - [boost::iostreams::file_descriptor fd(0); fd.close();]) + [boost::iostreams::file_descriptor fd("/dev/null"); fd.close();]) ])# BOOST_IOSTREAMS d13 10 @