NEWS-3.0.4

__NOTOC__
= WHAT'S CHANGED SINCE 3.0.3 =
3.0.4 is a generic bugfix release.
== Server / General ==
* Prevent player from starting research a new Future Tech, when they have lost ability to research them while researching the previous one 
* Silenced some unused entry warnings when loading saved games 
* Units lost due to missing shield upkeep are now included to player's lost units count 
* Fixed memory corruption issue when number of continents change due to land to ocean transformation 
=== Changes affecting players (supplied rulesets) ===
* Fixed illegal range definitions in supplied rulesets 
* Legality of the activities of the units in the surrounding tiles are checked also when city in the tile gets destroyed 
* sandbox
** Attackers have 50% chance of moving to killed unit's tile after the combat 
=== Changes affecting other rulesets / modders ===
* Killing gameloss unit by any means now gives loot on rulesets where gameloss_style set so 
* Server now detects invalid requirement range definitions and warns about them. They will be hard errors on a future version 
* Fixed potential crash after an error loading nations ruleset 
=== Changes affecting server operators ===
* Fixed loading savegames from freeciv versions older than 3.0 with Defending Unit Win events in event cache 
* Loading older savegame versions with known research count problems produce less warnings 
* Fixed loading base building orders from savegames older than freeciv-2.3 
=== Low-level changes ===
* Fixed potential crash on specfile error handling 
* Fixed crash when handling an error from deeply included data file 
* Fixed problems in transferring users' ping times to the clients 
* Fixed network protocol problems when there's more than 255 connections to the server. This fix works only if both the server and client have been updated. 
* Fixed buffer overflow on creating savegames, e.g., on Windows 
* Improved boundary checks in constructing text strings 
=== General ===
* Fixed memory leaks and improved cleanup on shutdown 
* Optimizations 
* Various internal changes which should only affect developers. 
=== AI ===
* Improved accuracy of AI calculations 
* Fixed restricting AI to max tax rates when they change 
* More correct max tax rates restrictions applied to the new player from Civil War 
* Fixed AI to select techs when in a team in a game without pooled research 
* When AI is currently researching Future Tech and regular tech becomes available (e.g. when formerly known one is lost), AI switch to researching that regular one 
* Fixed AI diplomats targeting cities that have a id higher than 64k 
== Clients ==
* Fixed crash when changing ai_manual_turn_done client option 
* Make sure that the transport selection dialog does not show transports unsuitable for the cargo 
* Fixed editor crash with terrains with no resources defined for them 
* Make sure editor gui opens immediately when server enables edit mode 
* Fixed editor handling of scenario reserved player property 
* Make sure no negative ping time is ever shown 
* gtk
** Added tooltips to worklist build targets 
** Added tooltip telling the nation the endgame score display row is about 
* qt
** Improved client initialization sequence to match Qt recommendations 
** Fixed installation of cities icon on NightStalker theme 
** Fixed client behavior when the target city gets destroyed before spy finishes stealing a tech 
* sdl2
** Display intelligence information about Wonders 
** Fixed adding Gold clauses to a treaty 
** Fixed installation of CJK fonts 
** Fixed selection of buildings for which icon is shown in the happiness dialog 
** Place luxury icon correctly on happiness dialog 
** Fixed chatline functionality 
== Tools ==
=== Ruledit ===
* Added Sanity Check button 
=== Manual Generator ===
* Made to work correctly on NDEBUG builds again 
== Tilesets, Art, etc ==
* Corrected/updated flag file formats 
* Fixed unused entry error in alio's hills.spec 
== Help / Documentation ==
* Miscellaneous improvements to in-game text and user documentation. 
* Miscellaneous changes to developer/install/ruleset docs. 
* Corrected format of ruledit man page 
== Translations ==
* Updated translations:
** Complete translations: Catalan, French, Polish
** Incomplete translations: Esperanto (32% core, 18% nations, 33% ruledit), Finnish (100% core, 93% nations, 100% ruledit), German (83% core, 99% nations, 5% ruledit), Russian (99% core, 100% nations, 97% ruledit)
* Marked more strings for translations 
== Build/portability ==
* Fixed some clang analyzer warnings 
* Improvements to crosser based builds
** Updated Crosser environment to use to version 2.4 
** Use gettimeofday() on crosser based Windows builds instead of fallbacks 
** Crosser based build process scales number of jobs to number of processor cores by default 
* Support for building also modpack installer flatpak 
* Updated freedekstop runtime used by flatpak to 22.08 
* Added more URL fields to appdata files 
* QT_NO_DEBUG not set on highest debug build level 
* Fix clang compiler warnings from luasql 
* Mariadb configurator is now searched by name mariadb-config too 
See NEWS for older lists of changes.
Category:NEWS