[Commits] [wesnoth/wesnoth] fc9783: Use raw string literals for regex

GitHub noreply at github.com
Sat Jul 30 03:26:02 UTC 2016


  Branch: refs/heads/boost_trimming
  Home:   https://github.com/wesnoth/wesnoth
  Commit: fc97838626306bffca834636bb641bf3d53cf0ea
      https://github.com/wesnoth/wesnoth/commit/fc97838626306bffca834636bb641bf3d53cf0ea
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/ai/composite/component.cpp
    M src/editor/map/map_context.cpp
    M src/game_events/action_wml.cpp
    M src/tools/schema/sourceparser.cpp

  Log Message:
  -----------
  Use raw string literals for regex

Also ensure some regexes cannot match null characters.


  Commit: ad7daee4a820b8828f99e8d0da8ad3543d9a3250
      https://github.com/wesnoth/wesnoth/commit/ad7daee4a820b8828f99e8d0da8ad3543d9a3250
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/gui/auxiliary/field.hpp
    M src/gui/core/event/dispatcher_private.hpp

  Log Message:
  -----------
  Remove a few more uses of Boost type traits and enable_if


  Commit: d1728ea0c57ecdefb726c95edd4c76080b53a14a
      https://github.com/wesnoth/wesnoth/commit/d1728ea0c57ecdefb726c95edd4c76080b53a14a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/config.cpp
    M src/gui/dialogs/lobby/lobby.cpp
    M src/server/server.cpp

  Log Message:
  -----------
  Remove some instances of boost::ref


  Commit: 8fa73053b872dbccc4b0a8387a56857ab865c918
      https://github.com/wesnoth/wesnoth/commit/8fa73053b872dbccc4b0a8387a56857ab865c918
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/gui/core/event/dispatcher.cpp
    M src/gui/core/event/dispatcher_private.hpp
    M src/side_filter.cpp
    M src/side_filter.hpp
    M src/terrain/filter.cpp
    M src/terrain/filter.hpp

  Log Message:
  -----------
  Remove a couple more MSVC 2008 workarounds


  Commit: d778db8af62897f76d5ca942b52d4b2fc87ef486
      https://github.com/wesnoth/wesnoth/commit/d778db8af62897f76d5ca942b52d4b2fc87ef486
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/desktop/dbus_notification.cpp
    M src/display_chat_manager.cpp
    M src/display_chat_manager.hpp
    M src/generators/cave_map_generator.cpp
    M src/generators/cave_map_generator.hpp
    M src/generators/default_map_generator.cpp
    M src/generators/default_map_generator.hpp
    M src/generators/default_map_generator_job.hpp
    M src/generators/lua_map_generator.cpp
    M src/generators/lua_map_generator.hpp
    M src/generators/map_generator.cpp
    M src/generators/map_generator.hpp
    M src/gui/dialogs/editor/generate_map.cpp
    M src/gui/dialogs/editor/generate_map.hpp
    M src/gui/widgets/helper.cpp
    M src/gui/widgets/helper.hpp
    M src/key.hpp
    M src/mt_rng.cpp
    M src/mt_rng.hpp
    M src/neon.hpp
    M src/network_asio.cpp
    M src/network_asio.hpp
    M src/random_new.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp
    M src/scripting/lua_rng.cpp
    M src/scripting/mapgen_lua_kernel.cpp
    M src/scripting/mapgen_lua_kernel.hpp
    M src/seed_rng.hpp
    M src/serialization/unicode_types.hpp
    M src/server/server.cpp
    M src/server/server.hpp
    M src/tests/test_util.cpp
    M src/thread.cpp
    M src/thread.hpp
    M src/wesnothd_connection.cpp
    M src/wesnothd_connection.hpp
    M src/xBRZ/xbrz.hpp

  Log Message:
  -----------
  Convert uses of boost integer types to their stdlib equivalents


  Commit: 0ecaa78513961b05a582972555c7a25f2afb0df4
      https://github.com/wesnoth/wesnoth/commit/0ecaa78513961b05a582972555c7a25f2afb0df4
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/game_events/action_wml.cpp
    M src/game_events/conditional_wml.cpp
    M src/map/location.cpp
    M src/play_controller.cpp
    M src/playturn_network_adapter.cpp
    M src/team.cpp
    M src/tests/test_map_location.cpp
    M src/tests/test_mp_connect.cpp

  Log Message:
  -----------
  Use initializer lists in place of remaining boost::asign::list_of cases


  Commit: 649b65d2aebf3ba1b7406cc62ea67a157b4ed075
      https://github.com/wesnoth/wesnoth/commit/649b65d2aebf3ba1b7406cc62ea67a157b4ed075
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/tools/sdl2/window.cpp

  Log Message:
  -----------
  Convert remaining boost::lexical_cast cases to our own implementation (extension of 211ba2e770)


  Commit: 7ccbd53a7aa665fde793fb974d1a912568558203
      https://github.com/wesnoth/wesnoth/commit/7ccbd53a7aa665fde793fb974d1a912568558203
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/serialization/string_utils.hpp
    M src/server/server.cpp

  Log Message:
  -----------
  Convert cases of boost::next to std::next


  Commit: 7212e5963dffde27fbcaa1c5c7c11b06db5f1227
      https://github.com/wesnoth/wesnoth/commit/7212e5963dffde27fbcaa1c5c7c11b06db5f1227
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/formula/string_utils.hpp
    M src/game_initialization/connect_engine.cpp
    M src/synced_user_choice.cpp

  Log Message:
  -----------
  Replace boost map_list_of with C++11 initializers


  Commit: ad4fe895e9b71e8336584e1eb73d8dc9fad42174
      https://github.com/wesnoth/wesnoth/commit/ad4fe895e9b71e8336584e1eb73d8dc9fad42174
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/ai/lua/core.cpp
    M src/game_events/manager_impl.cpp
    M src/game_events/manager_impl.hpp
    M src/image.cpp
    M src/image.hpp
    M src/map/location.hpp
    M src/units/map.hpp

  Log Message:
  -----------
  Remove use of boost::unordered_map

This also moves the LuaAI's push_location_key into public
view as the map_location hash function.


  Commit: b54ea23774bf2b03444bc460523499a751805e76
      https://github.com/wesnoth/wesnoth/commit/b54ea23774bf2b03444bc460523499a751805e76
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/gui/dialogs/addon/filter_options.cpp
    M src/gui/dialogs/addon/filter_options.hpp
    M src/gui/dialogs/game_version.hpp
    M src/serialization/string_utils.cpp

  Log Message:
  -----------
  Remove uses of boost::array


  Commit: 38d7f7169ff678f6acb1c183fca0247841b7ef9d
      https://github.com/wesnoth/wesnoth/commit/38d7f7169ff678f6acb1c183fca0247841b7ef9d
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/map/location.cpp
    M src/units/unit.cpp
    M src/variable_info_detail.hpp

  Log Message:
  -----------
  Remove a few other miscellanous Boost uses


  Commit: 8a8316a9b8c28093a3009152a9d6697e99f16206
      https://github.com/wesnoth/wesnoth/commit/8a8316a9b8c28093a3009152a9d6697e99f16206
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/game_events/conditional_wml.cpp
    M src/play_controller.cpp
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  Convert uses of boost::flat_set to std::set

The performance difference is irrelevant with the small number of elements.


  Commit: 82973000a0fa3dae5e1949988d34377f152117b8
      https://github.com/wesnoth/wesnoth/commit/82973000a0fa3dae5e1949988d34377f152117b8
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-07-29 (Fri, 29 Jul 2016)

  Changed paths:
    M src/gui/dialogs/message.cpp
    M src/gui/dialogs/message.hpp
    M src/gui/widgets/widget.cpp
    M src/gui/widgets/widget.hpp
    M src/scripting/lua_gui2.cpp

  Log Message:
  -----------
  Convert gui2::tvisible and gui2::tredraw_action to scoped enums


Compare: https://github.com/wesnoth/wesnoth/compare/071eee1d8014...82973000a0fa


More information about the Commits mailing list