Added bool pointer parameter 'close' for adv_data_get() and dai_plr_data_get().
If it's not NULL, caller promises to close the phase after the call if needed.
We can then leave the phase open when necessary and via that pointer set the information
for the caller if it should close the phase or not. 

See patch #4515


git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@24531 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
Handle tile labels correctly when doing tile copypaste in editor.

Reported by taka <taka>

See bug #21656


git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@24534 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
Fixed a crash on startpos generation when ruleset is missing either of
EC_IRRIGATION or EC_MINE extra for some land terrain.
- Startpos evaluation changed to consider Irrigation and Mine activity only
  when it will add an extra, not when it causes terrain transformation.
- tile_irrigate() and tile_mine() check against NULL target extra

See bug #21625


git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@24537 a0f10bec-cc02-0410-94fc-a9cfff90b4cd