NEWS-2.6.1

__NOTOC__
= WHAT'S CHANGED SINCE 2.6.0 =
2.6.1 is mostly a bugfix release.
== Server / General ==
=== Changes affecting players (supplied rulesets) ===
* Vision-providing bases, such as buoys, could in some circumstances remove visibility from tiles, perhaps preventing the owner's cities from working them, in the presence of autosettlers. 
* Various automatic processes in cities at turn change, such as rearranging workers when a settler is built, no longer interrupt rapture growth before the player can intervene. 
* A warning is now displayed every turn when units are at risk of being disbanded due to an armistice turning into a peace treaty. 
* All players are now warned the turn before a game is due to end due to a spaceship arriving, or due to the endturn server setting. 
* Stop displaying "wonder will be finished next turn" messages for obsolete wonders. 
* If a city starts to build an improvement from the worklist whose requirements are not yet met (for instance, its technology is not yet known), it will now be left on the worklist, rather than purged. The city will accumulate production points until the requirements are met or the player intervenes. (This is a longstanding feature, but has been broken for a long time.) 
* If a player used /away to set up caretaker AI, any worker tasks the player had set (by right-clicking on the city map) would be forgotten. 
* Cities produced pollution slightly too often. 
* When your attempt to steal technology fails, you're now told if it is because you already stole from that city. 
* The dispersion server setting on hex maps now uses a hexagonal distribution, rather than a square one. 
* Historians failed to take angry citizens into account when reporting on the "HAPPIEST Civilizations". 
* Fix a possible network protocol warning when units are starving. 
* Increased the amount of culture points required for cultural victory in rulesets where that is possible: civ2civ3 (disabled by default), experimental, and sandbox (disabled by default). 
* Being the first to gain an achievement no longer gives you double the usual culture bonus for that achievement. (Affects civ2civ3 and sandbox rulesets.) 
* Fix unconfirmed server trouble in rulesets with a "Land Ahoy" achievement (civ2civ3, experimental, sandbox). 
* Improvements to civ1 ruleset fidelity:
** Remove all restrictions on tax rates. 
** Only Artillery and Bombers should ignore City Walls, not other aircraft. 
** The Great Wall did not prevent population loss in cities it protected. 
** Railroads can no longer be built on city centre tiles (and do not appear there automatically), for behaviour closer to the original. 
** Forests can no longer be planted on river tiles. 
** Online help claimed that land units could be airlifted; they can't. 
=== Changes affecting other rulesets / modders ===
* In rulesets which allow capturing units, it's no longer allowed to capture a transport which is carrying units. (Previously this was allowed, but left the game in a broken state.) 
* In rulesets with nation-specific starting units, care is now taken to place them on tiles they can exist on, and clear any huts from their tile. 
* A unit entering a tile containing multiple hut-like extras is now handled more correctly. 
* If a unit entered a tile containing an extra with cause 'Hut', then any other extras on the tile with category "Bonus" would also be treated as more huts, even if they didn't have cause 'Hut'. (For example, this would affect Ruins in supplied rulesets, except that it's not possible for Hut and Ruins to end up on the same tile by the operation of standard game rules.) 
* The game editor didn't allow changing research bulbs if the player was researching Future Tech at the time. 
* Copying and pasting tiles in the game editor would accidentally paste the same units three times. 
* Rulesets which defined a unit type without any tech_req could crash the server, rather than giving an error message. 
* Fix inability to use default/nationlist.ruleset in a custom ruleset lacking standard plural-named terrains such as 'Hills'. 
* Calling the Lua API function (City):inspire_partisans from the client could crash it, due to incomplete game knowledge. Now this function returns false if determining the answer requires knowledge that is not available in the caller's context. 
* Coding style clean up to supplied default.lua script. 
* The included Lua engine has been upgraded from 5.3.4 to 5.3.5. 
=== Changes affecting server operators ===
* If control of a player was delegated over a game load/save cycle, ending the delegation would not restore control to the original owner. 
* If a fixed random seed (gameseed) was set, second and subsequent games started on a single server would not honour it. 
* Included Luasql has been upgraded from 2.3.5 to 2.4.0. 
=== Low-level changes ===
=== General ===
* Various changes to pathfinding, affecting how goto paths are drawn in the client as well as the actual paths chosen by units. Notably, the "Turns to target" shown for goto paths now indicates how many turns before the unit can act again, as it did in 2.5. Other changes affect fueled units, including a fix for a possible infinite loop. 
* Saving a map image could cause a crash with a high number of players on a crowded map. 
* Tweaked the categorisation of the event cache settings. 
* Slightly improved diagnostics for missing sound files. 
* Various internal changes which should only affect developers. 
=== AI ===
* The AI is now more likely to build sea attacker units. 
* The AI now attaches some (small) value to gaining culture points. 
* The AI now values getting an embassy from diplomacy, in rulesets like civ2civ3 where that reduces research costs. 
* Fix possible regression in AI's ability to build defending units when under threat. (Also, a server crash when started with --debug 4.) 
* AI is now more likely to build attacker units that will make a difference to the goal of conquering a specific city. 
* Speed-up for threaded AI. 
* Fix some failures to fully initialise AI state on loading a savegame. Could possibly affect ferries. 
== Clients ==
* When setting up single-player games, the client's AI level control no longer gets out of sync with the server state. 
* A forced tileset specified like freeciv-gtk3 --tiles amplio2 could be ignored when starting a scenario game. 
* Try to make the city outline display for city-founding units more accurate for some custom rulesets. 
* Fix possible trouble when ordering a unit to take an action on its current tile, such as building a city. 
* (Gtk3/3.22) If you pressed Escape when prompted for the name of a new city, the relevant unit could subsequently not respond to the (B)uild City command at all. Hitting Escape when renaming a city could also lead to trouble. 
* (Gtk3/3.22) Happiness tooltips from the city dialog could appear in the wrong place. 
* (Gtk3/3.22) The client no longer permanently consumes a lot of CPU after witnessing a nuclear explosion. 
* (Gtk3.22) Various keyboard shortcuts (such as Ctrl+S for save) were missing or wrong. Now they are consistent with other Gtk clients and the help. 
* (Gtk3.22) Menus and other UI elements now support keyboard navigation with Alt+key combinations, as in the other Gtk clients. 
* (Gtk3.22) Fix a possible crash at startup. 
* (SDL) It was not possible to start a revolution with some rulesets, such as civ2civ3 with its default settings. 
* (SDL) Fix a possible crash on closing the client. 
* (SDL2) Fix a client crash. 
* (SDL2) The SDL2 client now treats touch events similarly to pressing the left mouse button. 
* (Qt) Many improvements to the Qt client:
** If the ruleset allows building multiple road or base types in the current situation, the Qt client now allows choosing which, like other clients. 
** Zoom changes:
*** The map zoom level no longer affects the city dialog, the resolution of units in the current list, etc. 
*** Option to control whether text size is scaled with the map view. 
** Speed up startup and zooming. 
** On the Nations report, show "Science: (Unknown)" rather than "Science: 0%" if the information isn't known (due to lack of an embassy, etc). 
** Fix various choices made on first run:
*** Huge fonts could be chosen on small displays. 
*** Better default city dialog layout. 
** Virtual cities used for trade planning are now always shown, even if trade route drawing is disabled. 
** Adding a city to trade planning no longer has the side effect of opening its dialog. 
** Prevent observers attempting to rename cities or change their governor. 
** Look for themes in all data directories on the path, not just the first. 
** With iso-hex tilesets, units were drawn too big. 
** Show technology icons in more places. 
** Tweak city dialog layout. 
** Clicking 'Load' with selecting a savegame to load caused a hang. 
** Fix an assertion failure in the city dialog. 
** Fix a warning when leaving a game with a meeting dialog open. 
** Other minor fixes. 
* Fix various various client memory leaks. 
== Tools ==
* Fixes to the experimental ruleset editor:
** When saving a ruleset using root_reqs for techs, techs which implicitly inherited root_reqs from others were saved with explicit root_reqs. 
** When saving a ruleset while the system language was not English, the resulting ruleset could fail to load due to its OutputType requirements erroneously being translated. 
* Changes to the freeciv-manual tool:
** Now includes minimal documentation of unit types. 
** Fix assertion failure. 
== Tilesets / Art ==
* The Hexemplio city graphics for Asian, Babylonian, and Tropical city styles were wrong. 
== Help / Documentation ==
* Miscellaneous improvements to in-game text and user documentation. 
* Miscellaneous changes to developer/install/ruleset docs. 
* Invisible changes to assist localization. 
== Translations ==
* Updated translations:
** Complete translations: Polish, Russian.
** Incomplete translations: French (99.9% core, 100% nations, 100% ruledit), Catalan (99.7% core, 99.9% nations, 100% ruledit), Finnish (99.5% core, 91% nations, 98.2% ruledit), Spanish (94% core, 99.9% nations, 18% ruledit), British English (95.3% core, 100% nations, 100% ruledit).
== Build/portability ==
* Fix failure to find glibtoolize on Mac OS. 
* Fix deprecation warnings when building Gtk3 clients with Gtk+ 3.24 and later. 
* Fix some compiler warnings with GCC 8/9/10. 
* Fix widespread function pointer casting abuse that prevented building with Emscripten. 
* Fix a warning with the wasm toolchain. 
* Fix building SDL client with Freetype ≥ 2.9.1. (SDL2 client was not affected.) 
* The SDL2 client build could fail to complain gracefully about too-old Freetype2. 
* Fix possible configure failure to disable building of SDL2 client when SDL2 development files not present (upstream bz 4544). 
* Fix Qt build issue on Cygwin. 
* In Windows Gtk3.22 installers built with msys2, the modpack installer could not be launched. 
* Fix possible modpack installer build failure on some platforms. 
* Make the Gtk2 client's appdata XML format less out-of-date. 
* Some developer scripts now require a binary called python3; however, this is not required just to build from the distribution tarball. (The underlying scripts would still run in Python 2 or 3 for now, but their #! line refers to python3.) 
See NEWS for older lists of changes.
Category:NEWS