[Commits] [wesnoth/wesnoth] 3ac7f8: NULL -> nullptr

GitHub noreply at github.com
Thu Mar 31 04:44:05 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3ac7f8d970d92f65f17c76e502c36a2a1240c438
      https://github.com/wesnoth/wesnoth/commit/3ac7f8d970d92f65f17c76e502c36a2a1240c438
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-03-31 (Thu, 31 Mar 2016)

  Changed paths:
    M projectfiles/Xcode/Mac Sources/SDLMain.mm
    M src/SDL_SavePNG/savepng.cpp
    M src/about.cpp
    M src/actions/attack.cpp
    M src/actions/attack.hpp
    M src/actions/create.cpp
    M src/actions/move.cpp
    M src/actions/move.hpp
    M src/actions/shroud_clearing_action.cpp
    M src/actions/undo.cpp
    M src/actions/undo_action.hpp
    M src/actions/unit_creator.cpp
    M src/actions/unit_creator.hpp
    M src/actions/vision.cpp
    M src/actions/vision.hpp
    M src/addon/client.cpp
    M src/addon/manager_ui.cpp
    M src/ai/actions.cpp
    M src/ai/composite/aspect.hpp
    M src/ai/composite/component.cpp
    M src/ai/composite/engine.cpp
    M src/ai/composite/engine.hpp
    M src/ai/composite/goal.hpp
    M src/ai/composite/property_handler.hpp
    M src/ai/composite/rca.hpp
    M src/ai/composite/stage.hpp
    M src/ai/contexts.cpp
    M src/ai/contexts.hpp
    M src/ai/default/attack.cpp
    M src/ai/default/ca.cpp
    M src/ai/default/contexts.hpp
    M src/ai/default/recruitment.cpp
    M src/ai/formula/ai.cpp
    M src/ai/formula/callable_objects.cpp
    M src/ai/formula/candidates.cpp
    M src/ai/formula/engine_fai.cpp
    M src/ai/formula/function_table.cpp
    M src/ai/lua/aspect_advancements.cpp
    M src/ai/lua/core.cpp
    M src/ai/lua/engine_lua.cpp
    M src/ai/lua/lua_object.cpp
    M src/ai/manager.cpp
    M src/ai/simulated_actions.cpp
    M src/attack_prediction.cpp
    M src/attack_prediction.hpp
    M src/attack_prediction_display.cpp
    M src/build_info.cpp
    M src/campaign_server/campaign_server.cpp
    M src/carryover.cpp
    M src/config.cpp
    M src/config.hpp
    M src/construct_dialog.cpp
    M src/construct_dialog.hpp
    M src/controller_base.cpp
    M src/controller_base.hpp
    M src/cursor.cpp
    M src/desktop/dbus_notification.cpp
    M src/desktop/open.cpp
    M src/desktop/version.cpp
    M src/desktop/windows_tray_notification.cpp
    M src/dialogs.cpp
    M src/dialogs.hpp
    M src/display.cpp
    M src/display.hpp
    M src/display_context.cpp
    M src/editor/action/action.cpp
    M src/editor/action/action_item.cpp
    M src/editor/action/action_label.cpp
    M src/editor/action/action_unit.cpp
    M src/editor/action/action_village.cpp
    M src/editor/action/mouse/mouse_action.cpp
    M src/editor/action/mouse/mouse_action.hpp
    M src/editor/action/mouse/mouse_action_item.cpp
    M src/editor/action/mouse/mouse_action_item.hpp
    M src/editor/action/mouse/mouse_action_map_label.cpp
    M src/editor/action/mouse/mouse_action_select.cpp
    M src/editor/action/mouse/mouse_action_unit.cpp
    M src/editor/action/mouse/mouse_action_unit.hpp
    M src/editor/action/mouse/mouse_action_village.cpp
    M src/editor/action/mouse/mouse_action_village.hpp
    M src/editor/controller/editor_controller.cpp
    M src/editor/controller/editor_controller.hpp
    M src/editor/map/context_manager.cpp
    M src/editor/map/map_context.cpp
    M src/editor/map/map_context.hpp
    M src/editor/palette/editor_palettes.cpp
    M src/editor/palette/empty_palette.hpp
    M src/editor/palette/item_palette.cpp
    M src/editor/palette/terrain_palettes.cpp
    M src/editor/palette/tristate_button.cpp
    M src/editor/palette/unit_palette.cpp
    M src/editor/toolkit/editor_toolkit.cpp
    M src/events.hpp
    M src/fake_unit_ptr.cpp
    M src/filechooser.cpp
    M src/filesystem.hpp
    M src/filesystem_boost.cpp
    M src/filesystem_common.cpp
    M src/floating_label.cpp
    M src/floating_label.hpp
    M src/floating_textbox.cpp
    M src/floating_textbox.hpp
    M src/font.cpp
    M src/format_time_summary.cpp
    M src/formula/callable.hpp
    M src/formula/callable_objects.cpp
    M src/formula/debugger.cpp
    M src/formula/debugger.hpp
    M src/formula/debugger_fwd.cpp
    M src/formula/formula.cpp
    M src/formula/formula.hpp
    M src/formula/function.cpp
    M src/formula/function.hpp
    M src/formula/string_utils.hpp
    M src/formula/variant.cpp
    M src/formula/variant.hpp
    M src/game_board.cpp
    M src/game_config_manager.cpp
    M src/game_config_manager.hpp
    M src/game_display.cpp
    M src/game_display.hpp
    M src/game_events/action_wml.cpp
    M src/game_events/conditional_wml.cpp
    M src/game_events/menu_item.cpp
    M src/game_events/pump.cpp
    M src/game_initialization/connect_engine.cpp
    M src/game_initialization/create_engine.cpp
    M src/game_initialization/create_engine.hpp
    M src/game_initialization/flg_manager.cpp
    M src/game_initialization/multiplayer.cpp
    M src/game_initialization/multiplayer_create.cpp
    M src/game_initialization/multiplayer_lobby.cpp
    M src/game_initialization/multiplayer_lobby.hpp
    M src/game_initialization/multiplayer_ui.cpp
    M src/game_initialization/multiplayer_wait.cpp
    M src/game_initialization/playcampaign.hpp
    M src/game_initialization/singleplayer.cpp
    M src/game_launcher.cpp
    M src/game_state.cpp
    M src/game_state.hpp
    M src/generators/cave_map_generator.cpp
    M src/generators/default_map_generator.cpp
    M src/generators/default_map_generator_job.cpp
    M src/generators/default_map_generator_job.hpp
    M src/generators/map_create.cpp
    M src/generators/map_generator.cpp
    M src/gettext.cpp
    M src/gettext_boost.cpp
    M src/global.hpp
    M src/gui/auxiliary/field.hpp
    M src/gui/auxiliary/formula.hpp
    M src/gui/auxiliary/iterator/policy_visit.hpp
    M src/gui/auxiliary/iterator/walker_grid.cpp
    M src/gui/auxiliary/iterator/walker_widget.cpp
    M src/gui/core/canvas.cpp
    M src/gui/core/event/dispatcher.cpp
    M src/gui/core/event/dispatcher.hpp
    M src/gui/core/event/dispatcher_private.hpp
    M src/gui/core/event/distributor.cpp
    M src/gui/core/event/distributor.hpp
    M src/gui/core/event/handler.cpp
    M src/gui/core/notifiee.hpp
    M src/gui/core/notifier.hpp
    M src/gui/core/timer.cpp
    M src/gui/dialogs/chat_log.cpp
    M src/gui/dialogs/debug_clock.cpp
    M src/gui/dialogs/debug_clock.hpp
    M src/gui/dialogs/editor/custom_tod.cpp
    M src/gui/dialogs/editor/custom_tod.hpp
    M src/gui/dialogs/editor/generate_map.cpp
    M src/gui/dialogs/formula_debugger.cpp
    M src/gui/dialogs/game_cache_options.cpp
    M src/gui/dialogs/game_load.cpp
    M src/gui/dialogs/loadscreen.cpp
    M src/gui/dialogs/loadscreen.hpp
    M src/gui/dialogs/lobby/data.cpp
    M src/gui/dialogs/lobby/data.hpp
    M src/gui/dialogs/lobby/info.cpp
    M src/gui/dialogs/lobby/lobby.cpp
    M src/gui/dialogs/lobby/lobby.hpp
    M src/gui/dialogs/lobby/player_info.cpp
    M src/gui/dialogs/lua_interpreter.cpp
    M src/gui/dialogs/message.cpp
    M src/gui/dialogs/multiplayer/mp_change_control.cpp
    M src/gui/dialogs/multiplayer/mp_create_game.cpp
    M src/gui/dialogs/popup.cpp
    M src/gui/dialogs/preferences_dialog.cpp
    M src/gui/dialogs/title_screen.cpp
    M src/gui/dialogs/wml_message.hpp
    M src/gui/widgets/container.hpp
    M src/gui/widgets/control.cpp
    M src/gui/widgets/control.hpp
    M src/gui/widgets/debug.cpp
    M src/gui/widgets/generator.cpp
    M src/gui/widgets/generator_private.hpp
    M src/gui/widgets/grid.cpp
    M src/gui/widgets/grid.hpp
    M src/gui/widgets/list.cpp
    M src/gui/widgets/listbox.cpp
    M src/gui/widgets/matrix.cpp
    M src/gui/widgets/matrix.hpp
    M src/gui/widgets/minimap.cpp
    M src/gui/widgets/minimap.hpp
    M src/gui/widgets/multi_page.cpp
    M src/gui/widgets/pane.cpp
    M src/gui/widgets/pane.hpp
    M src/gui/widgets/panel.cpp
    M src/gui/widgets/scroll_label.cpp
    M src/gui/widgets/scrollbar.cpp
    M src/gui/widgets/scrollbar_container.cpp
    M src/gui/widgets/scrollbar_panel.cpp
    M src/gui/widgets/settings.cpp
    M src/gui/widgets/stacked_widget.cpp
    M src/gui/widgets/text.cpp
    M src/gui/widgets/toggle_panel.cpp
    M src/gui/widgets/tree_view.cpp
    M src/gui/widgets/tree_view_node.cpp
    M src/gui/widgets/tree_view_node.hpp
    M src/gui/widgets/viewport.cpp
    M src/gui/widgets/widget.cpp
    M src/gui/widgets/widget.hpp
    M src/gui/widgets/window.cpp
    M src/gui/widgets/window.hpp
    M src/halo.cpp
    M src/help/help.cpp
    M src/help/help_browser.cpp
    M src/help/help_button.cpp
    M src/help/help_impl.cpp
    M src/help/help_impl.hpp
    M src/help/help_menu.cpp
    M src/help/help_menu.hpp
    M src/help/help_text_area.cpp
    M src/hotkey/command_executor.cpp
    M src/hotkey/command_executor.hpp
    M src/hotkey/hotkey_preferences_display.cpp
    M src/image.cpp
    M src/image.hpp
    M src/image_modifications.cpp
    M src/key.cpp
    M src/language.cpp
    M src/log.cpp
    M src/log.hpp
    M src/log_windows.cpp
    M src/lua_jailbreak_exception.cpp
    M src/lua_jailbreak_exception.hpp
    M src/map/label.cpp
    M src/map/location.hpp
    M src/map/map.cpp
    M src/marked-up_text.cpp
    M src/marked-up_text.hpp
    M src/md5.cpp
    M src/menu_events.cpp
    M src/minimap.cpp
    M src/minimap.hpp
    M src/mouse_events.cpp
    M src/mouse_handler_base.cpp
    M src/movetype.cpp
    M src/movetype.hpp
    M src/nacl/plugin.cc
    M src/network.cpp
    M src/network_worker.cpp
    M src/pathfind/astarsearch.cpp
    M src/pathfind/pathfind.cpp
    M src/pathfind/pathfind.hpp
    M src/persist_context.cpp
    M src/persist_context.hpp
    M src/play_controller.cpp
    M src/play_controller.hpp
    M src/playmp_controller.cpp
    M src/playsingle_controller.cpp
    M src/playsingle_controller.hpp
    M src/playturn.cpp
    M src/random_new.cpp
    M src/replay.cpp
    M src/replay_controller.hpp
    M src/replay_helper.cpp
    M src/reports.cpp
    M src/resources.cpp
    M src/save_blocker.cpp
    M src/save_index.cpp
    M src/save_index.hpp
    M src/savegame.cpp
    M src/savegame.hpp
    M src/scoped_resource.hpp
    M src/scripting/application_lua_kernel.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_api.cpp
    M src/scripting/lua_api.hpp
    M src/scripting/lua_common.cpp
    M src/scripting/lua_cpp_function.cpp
    M src/scripting/lua_fileops.cpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp
    M src/scripting/lua_race.cpp
    M src/scripting/lua_rng.cpp
    M src/scripting/lua_team.cpp
    M src/scripting/mapgen_lua_kernel.cpp
    M src/scripting/plugins/context.cpp
    M src/scripting/plugins/manager.cpp
    M src/sdl/image.cpp
    M src/sdl/image.hpp
    M src/sdl/rect.cpp
    M src/sdl/utils.cpp
    M src/sdl/utils.hpp
    M src/serialization/parser.cpp
    M src/serialization/parser.hpp
    M src/serialization/preprocessor.cpp
    M src/serialization/preprocessor.hpp
    M src/serialization/schema_validator.cpp
    M src/serialization/tokenizer.cpp
    M src/server/ban.cpp
    M src/server/forum_user_handler.cpp
    M src/server/game.cpp
    M src/server/game.hpp
    M src/server/metrics.cpp
    M src/server/player.cpp
    M src/server/player.hpp
    M src/server/room.cpp
    M src/server/room.hpp
    M src/server/room_manager.cpp
    M src/server/room_manager.hpp
    M src/server/sample_user_handler.cpp
    M src/server/sample_user_handler.hpp
    M src/server/server.cpp
    M src/server/simple_wml.cpp
    M src/server/simple_wml.hpp
    M src/server/user_handler.cpp
    M src/settings.hpp
    M src/show_dialog.cpp
    M src/show_dialog.hpp
    M src/side_filter.cpp
    M src/sound.cpp
    M src/sound_music_track.cpp
    M src/statistics.hpp
    M src/statistics_dialog.cpp
    M src/storyscreen/controller.cpp
    M src/storyscreen/part.cpp
    M src/storyscreen/render.cpp
    M src/synced_commands.cpp
    M src/synced_context.cpp
    M src/team.cpp
    M src/team.hpp
    M src/teambuilder.cpp
    M src/terrain/builder.cpp
    M src/terrain/builder.hpp
    M src/terrain/filter.cpp
    M src/tests/gui/fire_event.cpp
    M src/tests/gui/iterator.cpp
    M src/tests/gui/test_gui2.cpp
    M src/tests/gui/visitor.cpp
    M src/tests/test_image_modifications.cpp
    M src/tests/test_lua.cpp
    M src/tests/test_mp_connect.cpp
    M src/text.cpp
    M src/theme.cpp
    M src/theme.hpp
    M src/thread.cpp
    M src/thread.hpp
    M src/tod_manager.hpp
    M src/tools/cutter.cpp
    M src/tools/dummy_video.cpp
    M src/tools/exploder_composer.cpp
    M src/tools/exploder_cutter.cpp
    M src/tools/exploder_cutter.hpp
    M src/tools/exploder_utils.cpp
    M src/tools/schema/schema_generator.cpp
    M src/tools/schema/sourceparser.cpp
    M src/tools/schema/tag.cpp
    M src/tools/sdl2/window.cpp
    M src/tooltips.cpp
    M src/tooltips.hpp
    M src/tracer.hpp
    M src/units/abilities.cpp
    M src/units/abilities.hpp
    M src/units/animation.cpp
    M src/units/animation.hpp
    M src/units/animation_component.cpp
    M src/units/animation_component.hpp
    M src/units/attack_type.cpp
    M src/units/attack_type.hpp
    M src/units/drawer.cpp
    M src/units/filter.cpp
    M src/units/filter.hpp
    M src/units/frame.cpp
    M src/units/map.cpp
    M src/units/map.hpp
    M src/units/types.cpp
    M src/units/types.hpp
    M src/units/udisplay.cpp
    M src/units/udisplay.hpp
    M src/units/unit.cpp
    M src/units/unit.hpp
    M src/util.hpp
    M src/utils/iterator.hpp
    M src/utils/shared_object.hpp
    M src/utils/smart_list.hpp
    M src/variable.cpp
    M src/video.cpp
    M src/video.hpp
    M src/wesnoth.cpp
    M src/whiteboard/highlighter.cpp
    M src/whiteboard/manager.cpp
    M src/whiteboard/manager.hpp
    M src/whiteboard/move.cpp
    M src/whiteboard/utility.cpp
    M src/whiteboard/utility.hpp
    M src/widgets/button.cpp
    M src/widgets/combo.cpp
    M src/widgets/menu.cpp
    M src/widgets/menu.hpp
    M src/widgets/menu_style.cpp
    M src/widgets/multimenu.cpp
    M src/widgets/multimenu.hpp
    M src/widgets/scrollbar.cpp
    M src/widgets/scrollpane.cpp
    M src/widgets/slider.cpp
    M src/widgets/slider.hpp
    M src/widgets/textbox.cpp
    M src/widgets/textbox.hpp
    M src/widgets/widget.cpp
    M src/wmi_pager.hpp
    M src/wml_exception.hpp

  Log Message:
  -----------
  NULL -> nullptr

A few cases of NULL were missed, since changing them led to errors
(Mainly instances where it was passed to a boost::function)





More information about the Commits mailing list