[Commits] [wesnoth/wesnoth] 210135: Convert include guards to the shorter `#pragma onc...
GitHub
noreply at github.com
Tue May 9 08:42:04 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 2101353d36b9a49088ea79cc73ceffeb026e7c70
https://github.com/wesnoth/wesnoth/commit/2101353d36b9a49088ea79cc73ceffeb026e7c70
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-05-09 (Tue, 09 May 2017)
Changed paths:
M src/about.hpp
M src/actions/attack.hpp
M src/actions/create.hpp
M src/actions/heal.hpp
M src/actions/move.hpp
M src/actions/undo.hpp
M src/actions/vision.hpp
M src/addon/client.hpp
M src/addon/info.hpp
M src/addon/manager.hpp
M src/addon/manager_ui.hpp
M src/addon/state.hpp
M src/addon/validation.hpp
M src/ai/actions.hpp
M src/ai/composite/ai.hpp
M src/ai/composite/aspect.hpp
M src/ai/composite/component.hpp
M src/ai/composite/contexts.hpp
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/composite/value_translator.hpp
M src/ai/configuration.hpp
M src/ai/contexts.hpp
M src/ai/default/aspect_attacks.hpp
M src/ai/default/ca.hpp
M src/ai/default/ca_move_to_targets.hpp
M src/ai/default/contexts.hpp
M src/ai/default/engine_cpp.hpp
M src/ai/default/recruitment.hpp
M src/ai/default/stage_rca.hpp
M src/ai/formula/ai.hpp
M src/ai/formula/callable_objects.hpp
M src/ai/formula/candidates.hpp
M src/ai/formula/engine_fai.hpp
M src/ai/formula/function_table.hpp
M src/ai/formula/stage_side_formulas.hpp
M src/ai/formula/stage_unit_formulas.hpp
M src/ai/game_info.hpp
M src/ai/gamestate_observer.hpp
M src/ai/manager.hpp
M src/ai/registry.hpp
M src/ai/simulated_actions.hpp
M src/ai/testing.hpp
M src/animated.hpp
M src/arrow.hpp
M src/attack_prediction.hpp
M src/buffered_istream.hpp
M src/build_info.hpp
M src/campaign_server/addon_utils.hpp
M src/campaign_server/blacklist.hpp
M src/campaign_server/campaign_server.hpp
M src/campaign_server/control.hpp
M src/carryover.hpp
M src/chat_events.hpp
M src/color.hpp
M src/color_range.hpp
M src/commandline_options.hpp
M src/config.hpp
M src/config_assign.hpp
M src/config_cache.hpp
M src/construct_dialog.hpp
M src/controller_base.hpp
M src/cursor.hpp
M src/desktop/apple_notification.hpp
M src/desktop/clipboard.hpp
M src/desktop/dbus_notification.hpp
M src/desktop/notifications.hpp
M src/desktop/open.hpp
M src/desktop/paths.hpp
M src/desktop/version.hpp
M src/desktop/windows_tray_notification.hpp
M src/display.hpp
M src/display_chat_manager.hpp
M src/display_context.hpp
M src/editor/action/action.hpp
M src/editor/action/action_base.hpp
M src/editor/action/action_item.hpp
M src/editor/action/action_label.hpp
M src/editor/action/action_select.hpp
M src/editor/action/action_unit.hpp
M src/editor/action/action_village.hpp
M src/editor/action/mouse/mouse_action.hpp
M src/editor/action/mouse/mouse_action_item.hpp
M src/editor/action/mouse/mouse_action_map_label.hpp
M src/editor/action/mouse/mouse_action_select.hpp
M src/editor/action/mouse/mouse_action_unit.hpp
M src/editor/action/mouse/mouse_action_village.hpp
M src/editor/controller/editor_controller.hpp
M src/editor/editor_common.hpp
M src/editor/editor_display.hpp
M src/editor/editor_main.hpp
M src/editor/map/context_manager.hpp
M src/editor/map/editor_map.hpp
M src/editor/map/map_context.hpp
M src/editor/map/map_fragment.hpp
M src/editor/palette/common_palette.hpp
M src/editor/palette/editor_palettes.hpp
M src/editor/palette/empty_palette.hpp
M src/editor/palette/item_palette.hpp
M src/editor/palette/palette_manager.hpp
M src/editor/palette/terrain_palettes.hpp
M src/editor/palette/tristate_button.hpp
M src/editor/palette/unit_palette.hpp
M src/editor/toolkit/brush.hpp
M src/editor/toolkit/editor_toolkit.hpp
M src/events.hpp
M src/exceptions.hpp
M src/fake_unit_manager.hpp
M src/fake_unit_ptr.hpp
M src/filesystem.hpp
M src/filter_context.hpp
M src/floating_textbox.hpp
M src/font/error.hpp
M src/font/font_config.hpp
M src/font/font_description.hpp
M src/font/font_id.hpp
M src/font/font_options.hpp
M src/font/marked-up_text.hpp
M src/font/sdl_ttf.hpp
M src/font/standard_colors.hpp
M src/font/text.hpp
M src/font/text_cache.hpp
M src/font/text_formatting.hpp
M src/font/text_surface.hpp
M src/format_time_summary.hpp
M src/formatter.hpp
M src/formula/callable.hpp
M src/formula/callable_fwd.hpp
M src/formula/callable_objects.hpp
M src/formula/debugger.hpp
M src/formula/debugger_fwd.hpp
M src/formula/formula.hpp
M src/formula/formula_fwd.hpp
M src/formula/function.hpp
M src/formula/string_utils.hpp
M src/formula/tokenizer.hpp
M src/formula/variant.hpp
M src/formula/variant_value.hpp
M src/game_board.hpp
M src/game_classification.hpp
M src/game_config.hpp
M src/game_config_manager.hpp
M src/game_data.hpp
M src/game_display.hpp
M src/game_end_exceptions.hpp
M src/game_errors.hpp
M src/game_events/action_wml.hpp
M src/game_events/conditional_wml.hpp
M src/game_events/entity_location.hpp
M src/game_events/handlers.hpp
M src/game_events/manager.hpp
M src/game_events/manager_impl.hpp
M src/game_events/menu_item.hpp
M src/game_events/pump.hpp
M src/game_events/wmi_container.hpp
M src/game_initialization/configure_engine.hpp
M src/game_initialization/connect_engine.hpp
M src/game_initialization/create_engine.hpp
M src/game_initialization/depcheck.hpp
M src/game_initialization/flg_manager.hpp
M src/game_initialization/lobby_data.hpp
M src/game_initialization/lobby_info.hpp
M src/game_initialization/mp_game_utils.hpp
M src/game_initialization/multiplayer.hpp
M src/game_initialization/playcampaign.hpp
M src/game_initialization/singleplayer.hpp
M src/game_launcher.hpp
M src/game_state.hpp
M src/generators/cave_map_generator.hpp
M src/generators/default_map_generator.hpp
M src/generators/default_map_generator_job.hpp
M src/generators/lua_map_generator.hpp
M src/generators/map_create.hpp
M src/generators/map_generator.hpp
M src/generic_event.hpp
M src/gettext.hpp
M src/global.hpp
M src/gui/auxiliary/field-fwd.hpp
M src/gui/auxiliary/field.hpp
M src/gui/auxiliary/filter.hpp
M src/gui/auxiliary/find_widget.hpp
M src/gui/auxiliary/iterator/exception.hpp
M src/gui/auxiliary/iterator/iterator.hpp
M src/gui/auxiliary/iterator/policy_order.hpp
M src/gui/auxiliary/iterator/policy_visit.hpp
M src/gui/auxiliary/iterator/walker.hpp
M src/gui/auxiliary/iterator/walker_grid.hpp
M src/gui/auxiliary/iterator/walker_tree_node.hpp
M src/gui/auxiliary/iterator/walker_widget.hpp
M src/gui/auxiliary/old_markup.hpp
M src/gui/auxiliary/tips.hpp
M src/gui/auxiliary/typed_formula.hpp
M src/gui/core/canvas.hpp
M src/gui/core/event/dispatcher.hpp
M src/gui/core/event/dispatcher_private.hpp
M src/gui/core/event/distributor.hpp
M src/gui/core/event/handler.hpp
M src/gui/core/event/message.hpp
M src/gui/core/layout_exception.hpp
M src/gui/core/linked_group_definition.hpp
M src/gui/core/log.hpp
M src/gui/core/notifiee.hpp
M src/gui/core/notifier.hpp
M src/gui/core/placer.hpp
M src/gui/core/placer/horizontal_list.hpp
M src/gui/core/placer/vertical_list.hpp
M src/gui/core/point.hpp
M src/gui/core/register_widget.hpp
M src/gui/core/timer.hpp
M src/gui/core/widget_definition.hpp
M src/gui/core/window_builder.hpp
M src/gui/core/window_builder/helper.hpp
M src/gui/core/window_builder/instance.hpp
M src/gui/dialogs/addon/connect.hpp
M src/gui/dialogs/addon/install_dependencies.hpp
M src/gui/dialogs/addon/manager.hpp
M src/gui/dialogs/addon/uninstall_list.hpp
M src/gui/dialogs/advanced_graphics_options.hpp
M src/gui/dialogs/attack_predictions.hpp
M src/gui/dialogs/campaign_difficulty.hpp
M src/gui/dialogs/campaign_selection.hpp
M src/gui/dialogs/chat_log.hpp
M src/gui/dialogs/core_selection.hpp
M src/gui/dialogs/debug_clock.hpp
M src/gui/dialogs/depcheck_confirm_change.hpp
M src/gui/dialogs/depcheck_select_new.hpp
M src/gui/dialogs/drop_down_menu.hpp
M src/gui/dialogs/edit_label.hpp
M src/gui/dialogs/edit_text.hpp
M src/gui/dialogs/editor/custom_tod.hpp
M src/gui/dialogs/editor/edit_label.hpp
M src/gui/dialogs/editor/edit_scenario.hpp
M src/gui/dialogs/editor/edit_side.hpp
M src/gui/dialogs/editor/generate_map.hpp
M src/gui/dialogs/editor/generator_settings.hpp
M src/gui/dialogs/editor/new_map.hpp
M src/gui/dialogs/editor/resize_map.hpp
M src/gui/dialogs/editor/set_starting_position.hpp
M src/gui/dialogs/end_credits.hpp
M src/gui/dialogs/file_dialog.hpp
M src/gui/dialogs/folder_create.hpp
M src/gui/dialogs/formula_debugger.hpp
M src/gui/dialogs/game_cache_options.hpp
M src/gui/dialogs/game_delete.hpp
M src/gui/dialogs/game_load.hpp
M src/gui/dialogs/game_save.hpp
M src/gui/dialogs/game_stats.hpp
M src/gui/dialogs/game_version.hpp
M src/gui/dialogs/gamestate_inspector.hpp
M src/gui/dialogs/help_browser.hpp
M src/gui/dialogs/helper.hpp
M src/gui/dialogs/hotkey_bind.hpp
M src/gui/dialogs/label_settings.hpp
M src/gui/dialogs/language_selection.hpp
M src/gui/dialogs/loading_screen.hpp
M src/gui/dialogs/lobby/lobby.hpp
M src/gui/dialogs/lobby/player_info.hpp
M src/gui/dialogs/log_settings.hpp
M src/gui/dialogs/lua_interpreter.hpp
M src/gui/dialogs/message.hpp
M src/gui/dialogs/modal_dialog.hpp
M src/gui/dialogs/modeless_dialog.hpp
M src/gui/dialogs/multiplayer/faction_select.hpp
M src/gui/dialogs/multiplayer/mp_alerts_options.hpp
M src/gui/dialogs/multiplayer/mp_change_control.hpp
M src/gui/dialogs/multiplayer/mp_cmd_wrapper.hpp
M src/gui/dialogs/multiplayer/mp_connect.hpp
M src/gui/dialogs/multiplayer/mp_create_game.hpp
M src/gui/dialogs/multiplayer/mp_host_game_prompt.hpp
M src/gui/dialogs/multiplayer/mp_join_game.hpp
M src/gui/dialogs/multiplayer/mp_join_game_password_prompt.hpp
M src/gui/dialogs/multiplayer/mp_login.hpp
M src/gui/dialogs/multiplayer/mp_method_selection.hpp
M src/gui/dialogs/multiplayer/mp_options_helper.hpp
M src/gui/dialogs/multiplayer/mp_staging.hpp
M src/gui/dialogs/multiplayer/plugin_executor.hpp
M src/gui/dialogs/multiplayer/synced_choice_wait.hpp
M src/gui/dialogs/network_transmission.hpp
M src/gui/dialogs/outro.hpp
M src/gui/dialogs/preferences_dialog.hpp
M src/gui/dialogs/screenshot_notification.hpp
M src/gui/dialogs/select_orb_colors.hpp
M src/gui/dialogs/simple_item_selector.hpp
M src/gui/dialogs/sp_options_configure.hpp
M src/gui/dialogs/statistics_dialog.hpp
M src/gui/dialogs/story_viewer.hpp
M src/gui/dialogs/terrain_layers.hpp
M src/gui/dialogs/theme_list.hpp
M src/gui/dialogs/title_screen.hpp
M src/gui/dialogs/tooltip.hpp
M src/gui/dialogs/transient_message.hpp
M src/gui/dialogs/unit_advance.hpp
M src/gui/dialogs/unit_attack.hpp
M src/gui/dialogs/unit_create.hpp
M src/gui/dialogs/unit_list.hpp
M src/gui/dialogs/unit_recall.hpp
M src/gui/dialogs/unit_recruit.hpp
M src/gui/dialogs/wml_error.hpp
M src/gui/dialogs/wml_message.hpp
M src/gui/widgets/addon_list.hpp
M src/gui/widgets/button.hpp
M src/gui/widgets/chatbox.hpp
M src/gui/widgets/clickable_item.hpp
M src/gui/widgets/container_base.hpp
M src/gui/widgets/debug.hpp
M src/gui/widgets/drawing.hpp
M src/gui/widgets/event_executor.hpp
M src/gui/widgets/generator.hpp
M src/gui/widgets/generator_private.hpp
M src/gui/widgets/grid.hpp
M src/gui/widgets/grid_private.hpp
M src/gui/widgets/group.hpp
M src/gui/widgets/helper.hpp
M src/gui/widgets/horizontal_scrollbar.hpp
M src/gui/widgets/image.hpp
M src/gui/widgets/integer_selector.hpp
M src/gui/widgets/label.hpp
M src/gui/widgets/list.hpp
M src/gui/widgets/listbox.hpp
M src/gui/widgets/matrix.hpp
M src/gui/widgets/menu_button.hpp
M src/gui/widgets/minimap.hpp
M src/gui/widgets/multi_page.hpp
M src/gui/widgets/multimenu_button.hpp
M src/gui/widgets/pane.hpp
M src/gui/widgets/panel.hpp
M src/gui/widgets/password_box.hpp
M src/gui/widgets/progress_bar.hpp
M src/gui/widgets/repeating_button.hpp
M src/gui/widgets/scroll_label.hpp
M src/gui/widgets/scrollbar.hpp
M src/gui/widgets/scrollbar_container.hpp
M src/gui/widgets/scrollbar_container_private.hpp
M src/gui/widgets/scrollbar_panel.hpp
M src/gui/widgets/selectable_item.hpp
M src/gui/widgets/settings.hpp
M src/gui/widgets/size_lock.hpp
M src/gui/widgets/slider.hpp
M src/gui/widgets/spacer.hpp
M src/gui/widgets/stacked_widget.hpp
M src/gui/widgets/status_label_helper.hpp
M src/gui/widgets/styled_widget.hpp
M src/gui/widgets/text_box.hpp
M src/gui/widgets/text_box_base.hpp
M src/gui/widgets/toggle_button.hpp
M src/gui/widgets/toggle_panel.hpp
M src/gui/widgets/tree_view.hpp
M src/gui/widgets/tree_view_node.hpp
M src/gui/widgets/unit_preview_pane.hpp
M src/gui/widgets/vertical_scrollbar.hpp
M src/gui/widgets/viewport.hpp
M src/gui/widgets/widget.hpp
M src/gui/widgets/window.hpp
M src/gui/widgets/window_private.hpp
M src/halo.hpp
M src/hash.hpp
M src/help/help.hpp
M src/help/help_browser.hpp
M src/help/help_button.hpp
M src/help/help_impl.hpp
M src/help/help_menu.hpp
M src/help/help_text_area.hpp
M src/help/help_topic_generators.hpp
M src/hotkey/command_executor.hpp
M src/hotkey/hotkey_command.hpp
M src/hotkey/hotkey_handler.hpp
M src/hotkey/hotkey_handler_mp.hpp
M src/hotkey/hotkey_handler_sp.hpp
M src/hotkey/hotkey_item.hpp
M src/hotkey/hotkey_manager.hpp
M src/image.hpp
M src/image_modifications.hpp
M src/joystick.hpp
M src/key.hpp
M src/language.hpp
M src/lexical_cast.hpp
M src/libc_error.hpp
M src/log.hpp
M src/log_windows.hpp
M src/lua_jailbreak_exception.hpp
M src/map/exception.hpp
M src/map/label.hpp
M src/map/location.hpp
M src/map/map.hpp
M src/md5.hpp
M src/menu_events.hpp
M src/minimap.hpp
M src/mouse_events.hpp
M src/mouse_handler_base.hpp
M src/movetype.hpp
M src/mp_game_settings.hpp
M src/mp_ui_alerts.hpp
M src/mt_rng.hpp
M src/multiplayer_error_codes.hpp
M src/network_asio.hpp
M src/overlay.hpp
M src/pathfind/pathfind.hpp
M src/pathfind/teleport.hpp
M src/pathutils.hpp
M src/persist_context.hpp
M src/persist_manager.hpp
M src/persist_var.hpp
M src/play_controller.hpp
M src/playmp_controller.hpp
M src/playsingle_controller.hpp
M src/playturn.hpp
M src/playturn_network_adapter.hpp
M src/preferences/display.hpp
M src/preferences/editor.hpp
M src/preferences/game.hpp
M src/preferences/general.hpp
M src/preferences/lobby.hpp
M src/quit_confirmation.hpp
M src/random.hpp
M src/random_deterministic.hpp
M src/random_synced.hpp
M src/recall_list_manager.hpp
M src/replay.hpp
M src/replay_helper.hpp
M src/reports.hpp
M src/resources.hpp
M src/save_blocker.hpp
M src/save_index.hpp
M src/saved_game.hpp
M src/savegame.hpp
M src/scripting/application_lua_kernel.hpp
M src/scripting/debug_lua.hpp
M src/scripting/game_lua_kernel.hpp
M src/scripting/lua_common.hpp
M src/scripting/lua_cpp_function.hpp
M src/scripting/lua_fileops.hpp
M src/scripting/lua_formula_bridge.hpp
M src/scripting/lua_gui2.hpp
M src/scripting/lua_kernel_base.hpp
M src/scripting/lua_map_location_ops.hpp
M src/scripting/lua_preferences.hpp
M src/scripting/lua_race.hpp
M src/scripting/lua_rng.hpp
M src/scripting/lua_team.hpp
M src/scripting/lua_unit.hpp
M src/scripting/lua_unit_attacks.hpp
M src/scripting/lua_unit_type.hpp
M src/scripting/mapgen_lua_kernel.hpp
M src/scripting/plugins/context.hpp
M src/scripting/plugins/manager.hpp
M src/sdl/exception.hpp
M src/sdl/rect.hpp
M src/sdl/surface.hpp
M src/sdl/utils.hpp
M src/sdl/window.hpp
M src/seed_rng.hpp
M src/serialization/binary_or_text.hpp
M src/serialization/compression.hpp
M src/serialization/parser.hpp
M src/serialization/preprocessor.hpp
M src/serialization/schema_validator.hpp
M src/serialization/string_utils.hpp
M src/serialization/tag.hpp
M src/serialization/tokenizer.hpp
M src/serialization/ucs4_convert_impl.hpp
M src/serialization/ucs4_iterator_base.hpp
M src/serialization/unicode.hpp
M src/serialization/unicode_cast.hpp
M src/serialization/unicode_types.hpp
M src/serialization/validator.hpp
M src/server/ban.hpp
M src/server/forum_user_handler.hpp
M src/server/game.hpp
M src/server/metrics.hpp
M src/server/player.hpp
M src/server/player_connection.hpp
M src/server/player_network.hpp
M src/server/sample_user_handler.hpp
M src/server/server.hpp
M src/server/server_base.hpp
M src/server/simple_wml.hpp
M src/server/user_handler.hpp
M src/settings.hpp
M src/show_dialog.hpp
M src/side_filter.hpp
M src/sound.hpp
M src/sound_music_track.hpp
M src/soundsource.hpp
M src/statistics.hpp
M src/storyscreen/controller.hpp
M src/storyscreen/parser.hpp
M src/storyscreen/part.hpp
M src/synced_checkup.hpp
M src/synced_commands.hpp
M src/synced_context.hpp
M src/syncmp_handler.hpp
M src/team.hpp
M src/teambuilder.hpp
M src/terrain/builder.hpp
M src/terrain/filter.hpp
M src/terrain/terrain.hpp
M src/terrain/translation.hpp
M src/terrain/type_data.hpp
M src/tests/test_sdl_utils.hpp
M src/tests/utils/auto_parameterized.hpp
M src/tests/utils/fake_display.hpp
M src/tests/utils/fake_event_source.hpp
M src/tests/utils/game_config_manager.hpp
M src/tests/utils/play_scenario.hpp
M src/theme.hpp
M src/time_of_day.hpp
M src/tod_manager.hpp
M src/tooltips.hpp
M src/tracer.hpp
M src/tstring.hpp
M src/units/abilities.hpp
M src/units/animation.hpp
M src/units/animation_component.hpp
M src/units/attack_type.hpp
M src/units/drawer.hpp
M src/units/filter.hpp
M src/units/formula_manager.hpp
M src/units/frame.hpp
M src/units/frame_private.hpp
M src/units/helper.hpp
M src/units/id.hpp
M src/units/map.hpp
M src/units/ptr.hpp
M src/units/race.hpp
M src/units/types.hpp
M src/units/udisplay.hpp
M src/units/unit.hpp
M src/utils/const_clone.hpp
M src/utils/context_free_grammar_generator.hpp
M src/utils/functional.hpp
M src/utils/general.hpp
M src/utils/iterable_pair.hpp
M src/utils/iterator.hpp
M src/utils/make_enum.hpp
M src/utils/markov_generator.hpp
M src/utils/math.hpp
M src/utils/name_generator.hpp
M src/utils/name_generator_factory.hpp
M src/utils/reference_counter.hpp
M src/utils/sha1.hpp
M src/utils/smart_list.hpp
M src/variable.hpp
M src/variable_info.hpp
M src/variable_info_detail.hpp
M src/version.hpp
M src/video.hpp
M src/whiteboard/action.hpp
M src/whiteboard/attack.hpp
M src/whiteboard/highlighter.hpp
M src/whiteboard/manager.hpp
M src/whiteboard/mapbuilder.hpp
M src/whiteboard/move.hpp
M src/whiteboard/recall.hpp
M src/whiteboard/recruit.hpp
M src/whiteboard/side_actions.hpp
M src/whiteboard/suppose_dead.hpp
M src/whiteboard/typedefs.hpp
M src/whiteboard/utility.hpp
M src/whiteboard/visitor.hpp
M src/widgets/button.hpp
M src/widgets/label.hpp
M src/widgets/menu.hpp
M src/widgets/scrollarea.hpp
M src/widgets/scrollbar.hpp
M src/widgets/textbox.hpp
M src/widgets/widget.hpp
M src/wml_exception.hpp
M src/wml_separators.hpp
Log Message:
-----------
Convert include guards to the shorter `#pragma once`
Turns out I mistook @celticminstrel's opinion that we should use include guards over pragma (737916e).
Since all major compilers support `#pragma once`, there's no reason not to use it.
For future mergability reasons, this excludes src/spirit_po and src/xBRZ. It also excludes src/boost-patched.
More information about the Commits
mailing list