[Commits] [wesnoth/wesnoth] a2695a: Fix errors: missing includes

GitHub noreply at github.com
Fri Nov 11 18:16:58 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a2695aca7852a1d258dc2aca03001689f3cf27af
      https://github.com/wesnoth/wesnoth/commit/a2695aca7852a1d258dc2aca03001689f3cf27af
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-11-11 (Fri, 11 Nov 2016)

  Changed paths:
    M src/wesmage/filter.cpp

  Log Message:
  -----------
  Fix errors: missing includes


  Commit: b3019efd4282aecaad2bfe16bd117f4640eb5ebf
      https://github.com/wesnoth/wesnoth/commit/b3019efd4282aecaad2bfe16bd117f4640eb5ebf
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-11-11 (Fri, 11 Nov 2016)

  Changed paths:
    M src/ai/default/contexts.hpp
    M src/gui/dialogs/label_settings.cpp
    M src/gui/dialogs/preferences_dialog.cpp
    M src/gui/dialogs/select_orb_colors.cpp
    M src/gui/widgets/listbox.hpp
    M src/tests/test_map_location.cpp
    M src/tests/test_mp_connect.cpp
    M src/units/animation.hpp
    M src/utils/name_generator_factory.cpp

  Log Message:
  -----------
  Fix warning: Extra semicolon


  Commit: 465ab8fda27e9bb5e5dbb51ca235cacc1dccee64
      https://github.com/wesnoth/wesnoth/commit/465ab8fda27e9bb5e5dbb51ca235cacc1dccee64
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-11-11 (Fri, 11 Nov 2016)

  Changed paths:
    M src/font/standard_colors.cpp
    M src/scripting/lua_preferences.cpp

  Log Message:
  -----------
  Fix errors: #include <> should be ""


  Commit: d31555f8cf21c0408b991344b7dc9283ed5fb834
      https://github.com/wesnoth/wesnoth/commit/d31555f8cf21c0408b991344b7dc9283ed5fb834
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-11-11 (Fri, 11 Nov 2016)

  Changed paths:
    M src/actions/advancement.cpp
    M src/actions/attack.cpp
    M src/actions/create.cpp
    M src/actions/heal.cpp
    M src/actions/move.cpp
    M src/actions/shroud_clearing_action.cpp
    M src/actions/undo.cpp
    M src/actions/undo_action.cpp
    M src/actions/undo_dismiss_action.cpp
    M src/actions/undo_move_action.cpp
    M src/actions/undo_recall_action.cpp
    M src/actions/undo_recruit_action.cpp
    M src/actions/undo_update_shroud_action.cpp
    M src/actions/unit_creator.cpp
    M src/actions/vision.cpp
    M src/ai/formula/ai.cpp
    M src/ai/lua/core.cpp
    M src/ai/manager.cpp
    M src/desktop/apple_notification.mm
    M src/desktop/dbus_notification.cpp
    M src/desktop/notifications.cpp
    M src/desktop/windows_tray_notification.cpp
    M src/editor/action/mouse/mouse_action.cpp
    M src/editor/action/mouse/mouse_action_item.cpp
    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_village.cpp
    M src/editor/controller/editor_controller.cpp
    M src/editor/editor_display.cpp
    M src/editor/editor_main.cpp
    M src/editor/map/context_manager.cpp
    M src/editor/map/editor_map.cpp
    M src/editor/map/map_context.cpp
    M src/editor/map/map_fragment.cpp
    M src/editor/palette/editor_palettes.cpp
    M src/editor/palette/item_palette.cpp
    M src/editor/palette/location_palette.cpp
    M src/editor/palette/palette_manager.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/brush.cpp
    M src/editor/toolkit/editor_toolkit.cpp
    M src/font/constants.cpp
    M src/font/font_config.cpp
    M src/font/sdl_ttf.cpp
    M src/font/standard_colors.cpp
    M src/font/text.cpp
    M src/font/text_cache.cpp
    M src/font/text_surface.cpp
    M src/game_events/action_wml.cpp
    M src/game_events/conditional_wml.cpp
    M src/game_events/entity_location.cpp
    M src/game_events/handlers.cpp
    M src/game_events/manager.cpp
    M src/game_events/menu_item.cpp
    M src/game_events/pump.cpp
    M src/game_events/wmi_container.cpp
    M src/game_initialization/configure_engine.cpp
    M src/game_initialization/connect_engine.cpp
    M src/game_initialization/create_engine.cpp
    M src/game_initialization/depcheck.cpp
    M src/game_initialization/flg_manager.cpp
    M src/game_initialization/mp_game_utils.cpp
    M src/game_initialization/mp_options.cpp
    M src/game_initialization/multiplayer.cpp
    M src/game_initialization/multiplayer_configure.cpp
    M src/game_initialization/multiplayer_connect.cpp
    M src/game_initialization/multiplayer_create.cpp
    M src/game_initialization/multiplayer_lobby.cpp
    M src/game_initialization/multiplayer_ui.cpp
    M src/game_initialization/multiplayer_wait.cpp
    M src/game_initialization/playcampaign.cpp
    M src/game_initialization/singleplayer.cpp
    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/lua_map_generator.cpp
    M src/generators/map_create.cpp
    M src/generators/map_generator.cpp
    M src/gui/dialogs/label_settings.cpp
    M src/gui/dialogs/select_orb_colors.cpp
    M src/gui/widgets/control.cpp
    M src/gui/widgets/image.cpp
    M src/gui/widgets/minimap.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_menu.cpp
    M src/help/help_text_area.cpp
    M src/help/help_topic_generators.cpp
    M src/hotkey/command_executor.cpp
    M src/hotkey/hotkey_command.cpp
    M src/hotkey/hotkey_item.cpp
    M src/hotkey/hotkey_manager.cpp
    M src/scripting/debug_lua.cpp
    M src/scripting/lua_fileops.cpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_map_location_ops.cpp
    M src/scripting/lua_preferences.cpp
    M src/scripting/lua_rng.cpp
    M src/scripting/lua_unit.cpp
    M src/scripting/lua_unit_attacks.cpp
    M src/serialization/binary_or_text.cpp
    M src/serialization/unicode.cpp
    M src/server/ban.cpp
    M src/server/forum_user_handler.cpp
    M src/server/game.cpp
    M src/server/metrics.cpp
    M src/server/metrics.hpp
    M src/server/player.cpp
    M src/server/player_connection.cpp
    M src/server/player_network.cpp
    M src/server/sample_user_handler.cpp
    M src/server/server.cpp
    M src/server/server.hpp
    M src/server/server_base.cpp
    M src/server/simple_wml.cpp
    M src/server/user_handler.cpp
    M src/tests/utils/fake_display.cpp
    M src/tools/cutter.cpp
    M src/tools/exploder.cpp
    M src/tools/exploder_composer.cpp
    M src/tools/exploder_cutter.cpp
    M src/tools/exploder_utils.cpp
    M src/utils/context_free_grammar_generator.cpp
    M src/utils/markov_generator.cpp
    M src/utils/sha1.cpp
    M src/whiteboard/action.cpp
    M src/whiteboard/attack.cpp
    M src/whiteboard/highlighter.cpp
    M src/whiteboard/manager.cpp
    M src/whiteboard/mapbuilder.cpp
    M src/whiteboard/move.cpp
    M src/whiteboard/recall.cpp
    M src/whiteboard/recruit.cpp
    M src/whiteboard/side_actions.cpp
    M src/whiteboard/suppose_dead.cpp
    M src/whiteboard/utility.cpp
    M src/widgets/multimenu.cpp
    M src/xBRZ/xbrz.cpp

  Log Message:
  -----------
  Pedantic includes

Change all includes to start at the base instead of assuming the directory where included from.

This makes it more apparent exactly which header has been included, since many have the same name.

This also allows moving all header files out of the src directory.


  Commit: 2d4d8e26dce96f7b04ef6ffff8671fb4da466904
      https://github.com/wesnoth/wesnoth/commit/2d4d8e26dce96f7b04ef6ffff8671fb4da466904
  Author: Gregory A Lundberg <gregory_lundberg at gmx.com>
  Date:   2016-11-11 (Fri, 11 Nov 2016)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  .gitignore missing build targets


  Commit: 3b46cd30a8ae402f8142d91896ffdcd3056efef3
      https://github.com/wesnoth/wesnoth/commit/3b46cd30a8ae402f8142d91896ffdcd3056efef3
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2016-11-11 (Fri, 11 Nov 2016)

  Changed paths:
    M .gitignore
    M src/actions/advancement.cpp
    M src/actions/attack.cpp
    M src/actions/create.cpp
    M src/actions/heal.cpp
    M src/actions/move.cpp
    M src/actions/shroud_clearing_action.cpp
    M src/actions/undo.cpp
    M src/actions/undo_action.cpp
    M src/actions/undo_dismiss_action.cpp
    M src/actions/undo_move_action.cpp
    M src/actions/undo_recall_action.cpp
    M src/actions/undo_recruit_action.cpp
    M src/actions/undo_update_shroud_action.cpp
    M src/actions/unit_creator.cpp
    M src/actions/vision.cpp
    M src/ai/default/contexts.hpp
    M src/ai/formula/ai.cpp
    M src/ai/lua/core.cpp
    M src/ai/manager.cpp
    M src/desktop/apple_notification.mm
    M src/desktop/dbus_notification.cpp
    M src/desktop/notifications.cpp
    M src/desktop/windows_tray_notification.cpp
    M src/editor/action/mouse/mouse_action.cpp
    M src/editor/action/mouse/mouse_action_item.cpp
    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_village.cpp
    M src/editor/controller/editor_controller.cpp
    M src/editor/editor_display.cpp
    M src/editor/editor_main.cpp
    M src/editor/map/context_manager.cpp
    M src/editor/map/editor_map.cpp
    M src/editor/map/map_context.cpp
    M src/editor/map/map_fragment.cpp
    M src/editor/palette/editor_palettes.cpp
    M src/editor/palette/item_palette.cpp
    M src/editor/palette/location_palette.cpp
    M src/editor/palette/palette_manager.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/brush.cpp
    M src/editor/toolkit/editor_toolkit.cpp
    M src/font/constants.cpp
    M src/font/font_config.cpp
    M src/font/sdl_ttf.cpp
    M src/font/standard_colors.cpp
    M src/font/text.cpp
    M src/font/text_cache.cpp
    M src/font/text_surface.cpp
    M src/game_events/action_wml.cpp
    M src/game_events/conditional_wml.cpp
    M src/game_events/entity_location.cpp
    M src/game_events/handlers.cpp
    M src/game_events/manager.cpp
    M src/game_events/menu_item.cpp
    M src/game_events/pump.cpp
    M src/game_events/wmi_container.cpp
    M src/game_initialization/configure_engine.cpp
    M src/game_initialization/connect_engine.cpp
    M src/game_initialization/create_engine.cpp
    M src/game_initialization/depcheck.cpp
    M src/game_initialization/flg_manager.cpp
    M src/game_initialization/mp_game_utils.cpp
    M src/game_initialization/mp_options.cpp
    M src/game_initialization/multiplayer.cpp
    M src/game_initialization/multiplayer_configure.cpp
    M src/game_initialization/multiplayer_connect.cpp
    M src/game_initialization/multiplayer_create.cpp
    M src/game_initialization/multiplayer_lobby.cpp
    M src/game_initialization/multiplayer_ui.cpp
    M src/game_initialization/multiplayer_wait.cpp
    M src/game_initialization/playcampaign.cpp
    M src/game_initialization/singleplayer.cpp
    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/lua_map_generator.cpp
    M src/generators/map_create.cpp
    M src/generators/map_generator.cpp
    M src/gui/dialogs/label_settings.cpp
    M src/gui/dialogs/preferences_dialog.cpp
    M src/gui/dialogs/select_orb_colors.cpp
    M src/gui/widgets/control.cpp
    M src/gui/widgets/image.cpp
    M src/gui/widgets/listbox.hpp
    M src/gui/widgets/minimap.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_menu.cpp
    M src/help/help_text_area.cpp
    M src/help/help_topic_generators.cpp
    M src/hotkey/command_executor.cpp
    M src/hotkey/hotkey_command.cpp
    M src/hotkey/hotkey_item.cpp
    M src/hotkey/hotkey_manager.cpp
    M src/scripting/debug_lua.cpp
    M src/scripting/lua_fileops.cpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_map_location_ops.cpp
    M src/scripting/lua_preferences.cpp
    M src/scripting/lua_rng.cpp
    M src/scripting/lua_unit.cpp
    M src/scripting/lua_unit_attacks.cpp
    M src/serialization/binary_or_text.cpp
    M src/serialization/unicode.cpp
    M src/server/ban.cpp
    M src/server/forum_user_handler.cpp
    M src/server/game.cpp
    M src/server/metrics.cpp
    M src/server/metrics.hpp
    M src/server/player.cpp
    M src/server/player_connection.cpp
    M src/server/player_network.cpp
    M src/server/sample_user_handler.cpp
    M src/server/server.cpp
    M src/server/server.hpp
    M src/server/server_base.cpp
    M src/server/simple_wml.cpp
    M src/server/user_handler.cpp
    M src/tests/test_map_location.cpp
    M src/tests/test_mp_connect.cpp
    M src/tests/utils/fake_display.cpp
    M src/tools/cutter.cpp
    M src/tools/exploder.cpp
    M src/tools/exploder_composer.cpp
    M src/tools/exploder_cutter.cpp
    M src/tools/exploder_utils.cpp
    M src/units/animation.hpp
    M src/utils/context_free_grammar_generator.cpp
    M src/utils/markov_generator.cpp
    M src/utils/name_generator_factory.cpp
    M src/utils/sha1.cpp
    M src/wesmage/filter.cpp
    M src/whiteboard/action.cpp
    M src/whiteboard/attack.cpp
    M src/whiteboard/highlighter.cpp
    M src/whiteboard/manager.cpp
    M src/whiteboard/mapbuilder.cpp
    M src/whiteboard/move.cpp
    M src/whiteboard/recall.cpp
    M src/whiteboard/recruit.cpp
    M src/whiteboard/side_actions.cpp
    M src/whiteboard/suppose_dead.cpp
    M src/whiteboard/utility.cpp
    M src/widgets/multimenu.cpp
    M src/xBRZ/xbrz.cpp

  Log Message:
  -----------
  Merge pull request #863 from GregoryLundberg/GL_cleanup

A lot of little stuff


Compare: https://github.com/wesnoth/wesnoth/compare/03ba76a6ae36...3b46cd30a8ae


More information about the Commits mailing list