[Commits] [wesnoth/wesnoth] a226e6: fixup halos segfaulting

GitHub noreply at github.com
Fri Jun 27 02:22:16 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a226e6dc10eafc9ede49be5959c8e5b9c996fcb8
      https://github.com/wesnoth/wesnoth/commit/a226e6dc10eafc9ede49be5959c8e5b9c996fcb8
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-06-26 (Thu, 26 Jun 2014)

  Changed paths:
    M src/display.cpp
    M src/halo.cpp
    M src/halo.hpp
    M src/overlay.hpp
    M src/unit_animation.cpp
    M src/unit_animation.hpp
    M src/unit_animation_component.cpp
    M src/unit_animation_component.hpp
    M src/unit_drawer.cpp
    M src/unit_frame.cpp
    M src/unit_frame.hpp

  Log Message:
  -----------
  fixup halos segfaulting

fixes up commit 82c6b98907d9709aef0d23a3846c1e75ac48e1d5

Use smart "handles" for halos which have been added to a halo
manager. The handles remember what manager they came from, and
delete themselves automatically on destruction.

This wasn't an issue when haloes were basically managed by a
C library, but if we want to get rid of the static singleton
system, the handles need to be smarter than just int's.


  Commit: 83d9976526cc45d9e9dd12d58db071bd1bc8df9f
      https://github.com/wesnoth/wesnoth/commit/83d9976526cc45d9e9dd12d58db071bd1bc8df9f
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-06-26 (Thu, 26 Jun 2014)

  Changed paths:
    M data/gui/default/window/addon_filter_options.cfg
    M data/tools/addon_manager/html.py
    M src/gui/dialogs/addon/filter_options.cpp
    M src/server/forum_user_handler.cpp
    M utils/mp-server/new_release

  Log Message:
  -----------
  Merge branch 'master' of git://github.com/wesnoth/wesnoth


Compare: https://github.com/wesnoth/wesnoth/compare/9e447d1e3a78...83d9976526cc


More information about the Commits mailing list