[Commits] [wesnoth/wesnoth] 1fa8a2: fix OOS caused by undo stack missmatch

GitHub noreply at github.com
Thu Feb 26 18:39:29 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 1fa8a298425586457d2a1f6efebea91a91c3b00b
      https://github.com/wesnoth/wesnoth/commit/1fa8a298425586457d2a1f6efebea91a91c3b00b
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M src/replay.cpp
    M src/synced_context.cpp
    M src/synced_context.hpp

  Log Message:
  -----------
  fix OOS caused by undo stack missmatch

see https://gna.org/bugs/?23323 for more description


  Commit: bc846c73acc459abe5e87b2101c7298d6dc88e1c
      https://github.com/wesnoth/wesnoth/commit/bc846c73acc459abe5e87b2101c7298d6dc88e1c
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M src/playmp_controller.cpp

  Log Message:
  -----------
  clear undo stack at begin of human turn

https://gna.org/bugs/?23314


  Commit: 5332fa8fc4dae09badb3315efc8e388f9054b9a1
      https://github.com/wesnoth/wesnoth/commit/5332fa8fc4dae09badb3315efc8e388f9054b9a1
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M src/play_controller.cpp
    M src/playsingle_controller.cpp
    M src/replay.cpp

  Log Message:
  -----------
  fix unsynced sighted events at turn end.

now undo_stack_->clear(); which fires sighted events runs in a synced
context.


Compare: https://github.com/wesnoth/wesnoth/compare/781df37ca4af...5332fa8fc4da


More information about the Commits mailing list