[Commits] [wesnoth/wesnoth] 14db37: Convert uses of boost::regex and related functions...

GitHub noreply at github.com
Fri Jul 29 18:31:42 UTC 2016


  Branch: refs/heads/boost_trimming
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 14db37d7faea4ee12c162350a4bcc270c043417d
      https://github.com/wesnoth/wesnoth/commit/14db37d7faea4ee12c162350a4bcc270c043417d
  Author: Charles Dang <exodia339 at gmail.com>
  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/serialization/schema_validator.cpp
    M src/serialization/schema_validator.hpp
    M src/tools/schema/sourceparser.cpp
    M src/units/types.cpp

  Log Message:
  -----------
  Convert uses of boost::regex and related functions/types to their stdlib counterparts

This covers:
* boost::regex
* boost::regex_match
* boost::smatch
* boost::sregex_iterator
* boost::sregex_token_iterator

boost::regex_constants::match_not_dot_null doesn't have a stdlib counterpart, but according to
@celticminstrel it should be alright to remove it.


  Commit: c3dd55e057d4c5d53e23fb69906018a92f895085
      https://github.com/wesnoth/wesnoth/commit/c3dd55e057d4c5d53e23fb69906018a92f895085
  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: dd5dc317e7838ebc9998d811eaf7df658809d3fd
      https://github.com/wesnoth/wesnoth/commit/dd5dc317e7838ebc9998d811eaf7df658809d3fd
  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: 9196d338e0a6c21c278786e8d9df8283d2d24629
      https://github.com/wesnoth/wesnoth/commit/9196d338e0a6c21c278786e8d9df8283d2d24629
  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: b9a21301706d9099ee636df0597e0b2618de2408
      https://github.com/wesnoth/wesnoth/commit/b9a21301706d9099ee636df0597e0b2618de2408
  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.hpp
    M src/terrain/filter.hpp

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


Compare: https://github.com/wesnoth/wesnoth/compare/530245c05ccd...b9a21301706d


More information about the Commits mailing list