[Commits] [wesnoth/wesnoth-old] 2cc2f3: Minor formatting improvements in GUI2.
GitHub
noreply at github.com
Sun Feb 9 16:01:50 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth-old
Commit: 2cc2f3b248cc69bbf22907406c9d91ad80160f39
https://github.com/wesnoth/wesnoth-old/commit/2cc2f3b248cc69bbf22907406c9d91ad80160f39
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2014-02-09 (Sun, 09 Feb 2014)
Changed paths:
M src/gui/auxiliary/canvas.cpp
M src/gui/auxiliary/widget_definition.cpp
M src/gui/auxiliary/widget_definition/button.cpp
M src/gui/auxiliary/widget_definition/drawing.cpp
M src/gui/auxiliary/widget_definition/horizontal_scrollbar.cpp
M src/gui/auxiliary/widget_definition/image.cpp
M src/gui/auxiliary/widget_definition/label.cpp
M src/gui/auxiliary/widget_definition/listbox.cpp
M src/gui/auxiliary/widget_definition/minimap.cpp
M src/gui/auxiliary/widget_definition/multi_page.cpp
M src/gui/auxiliary/widget_definition/panel.cpp
M src/gui/auxiliary/widget_definition/progress_bar.cpp
M src/gui/auxiliary/widget_definition/repeating_button.cpp
M src/gui/auxiliary/widget_definition/scroll_label.cpp
M src/gui/auxiliary/widget_definition/scrollbar_panel.cpp
M src/gui/auxiliary/widget_definition/slider.cpp
M src/gui/auxiliary/widget_definition/spacer.cpp
M src/gui/auxiliary/widget_definition/stacked_widget.cpp
M src/gui/auxiliary/widget_definition/text_box.cpp
M src/gui/auxiliary/widget_definition/toggle_button.cpp
M src/gui/auxiliary/widget_definition/toggle_panel.cpp
M src/gui/auxiliary/widget_definition/tree_view.cpp
M src/gui/auxiliary/widget_definition/vertical_scrollbar.cpp
M src/gui/auxiliary/widget_definition/window.cpp
M src/gui/auxiliary/window_builder.cpp
M src/gui/auxiliary/window_builder/drawing.cpp
M src/gui/widgets/settings.cpp
Log Message:
-----------
Minor formatting improvements in GUI2.
These improvements are done in preparation to use clang format on the gui
directory.
Commit: e5253f32650b73f520bc52c19be1540d9b43f822
https://github.com/wesnoth/wesnoth-old/commit/e5253f32650b73f520bc52c19be1540d9b43f822
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2014-02-09 (Sun, 09 Feb 2014)
Changed paths:
A src/.clang-format
M src/gui/auxiliary/canvas.cpp
M src/gui/auxiliary/canvas.hpp
M src/gui/auxiliary/event/dispatcher.cpp
M src/gui/auxiliary/event/dispatcher.hpp
M src/gui/auxiliary/event/dispatcher_private.hpp
M src/gui/auxiliary/event/distributor.cpp
M src/gui/auxiliary/event/distributor.hpp
M src/gui/auxiliary/event/handler.cpp
M src/gui/auxiliary/event/handler.hpp
M src/gui/auxiliary/event/message.hpp
M src/gui/auxiliary/filter.hpp
M src/gui/auxiliary/find_widget.tpp
M src/gui/auxiliary/formula.hpp
M src/gui/auxiliary/iterator/exception.hpp
M src/gui/auxiliary/iterator/iterator.cpp
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.cpp
M src/gui/auxiliary/iterator/walker_grid.hpp
M src/gui/auxiliary/iterator/walker_widget.cpp
M src/gui/auxiliary/iterator/walker_widget.hpp
M src/gui/auxiliary/layout_exception.hpp
M src/gui/auxiliary/log.cpp
M src/gui/auxiliary/log.hpp
M src/gui/auxiliary/notifiee.hpp
M src/gui/auxiliary/notifier.hpp
M src/gui/auxiliary/old_markup.cpp
M src/gui/auxiliary/old_markup.hpp
M src/gui/auxiliary/placer.cpp
M src/gui/auxiliary/placer.hpp
M src/gui/auxiliary/placer/horizontal_list.cpp
M src/gui/auxiliary/placer/horizontal_list.hpp
M src/gui/auxiliary/placer/vertical_list.cpp
M src/gui/auxiliary/placer/vertical_list.hpp
M src/gui/auxiliary/timer.cpp
M src/gui/auxiliary/timer.hpp
M src/gui/auxiliary/tips.cpp
M src/gui/auxiliary/tips.hpp
M src/gui/auxiliary/widget_definition.cpp
M src/gui/auxiliary/widget_definition.hpp
M src/gui/auxiliary/widget_definition/button.cpp
M src/gui/auxiliary/widget_definition/button.hpp
M src/gui/auxiliary/widget_definition/drawing.cpp
M src/gui/auxiliary/widget_definition/drawing.hpp
M src/gui/auxiliary/widget_definition/horizontal_scrollbar.cpp
M src/gui/auxiliary/widget_definition/horizontal_scrollbar.hpp
M src/gui/auxiliary/widget_definition/image.cpp
M src/gui/auxiliary/widget_definition/image.hpp
M src/gui/auxiliary/widget_definition/label.cpp
M src/gui/auxiliary/widget_definition/label.hpp
M src/gui/auxiliary/widget_definition/listbox.cpp
M src/gui/auxiliary/widget_definition/listbox.hpp
M src/gui/auxiliary/widget_definition/matrix.cpp
M src/gui/auxiliary/widget_definition/matrix.hpp
M src/gui/auxiliary/widget_definition/minimap.cpp
M src/gui/auxiliary/widget_definition/minimap.hpp
M src/gui/auxiliary/widget_definition/multi_page.cpp
M src/gui/auxiliary/widget_definition/multi_page.hpp
M src/gui/auxiliary/widget_definition/panel.cpp
M src/gui/auxiliary/widget_definition/panel.hpp
M src/gui/auxiliary/widget_definition/progress_bar.cpp
M src/gui/auxiliary/widget_definition/progress_bar.hpp
M src/gui/auxiliary/widget_definition/repeating_button.cpp
M src/gui/auxiliary/widget_definition/repeating_button.hpp
M src/gui/auxiliary/widget_definition/scroll_label.cpp
M src/gui/auxiliary/widget_definition/scroll_label.hpp
M src/gui/auxiliary/widget_definition/scrollbar_panel.cpp
M src/gui/auxiliary/widget_definition/scrollbar_panel.hpp
M src/gui/auxiliary/widget_definition/slider.cpp
M src/gui/auxiliary/widget_definition/slider.hpp
M src/gui/auxiliary/widget_definition/spacer.cpp
M src/gui/auxiliary/widget_definition/spacer.hpp
M src/gui/auxiliary/widget_definition/stacked_widget.cpp
M src/gui/auxiliary/widget_definition/stacked_widget.hpp
M src/gui/auxiliary/widget_definition/text_box.cpp
M src/gui/auxiliary/widget_definition/text_box.hpp
M src/gui/auxiliary/widget_definition/toggle_button.cpp
M src/gui/auxiliary/widget_definition/toggle_button.hpp
M src/gui/auxiliary/widget_definition/toggle_panel.cpp
M src/gui/auxiliary/widget_definition/toggle_panel.hpp
M src/gui/auxiliary/widget_definition/tree_view.cpp
M src/gui/auxiliary/widget_definition/tree_view.hpp
M src/gui/auxiliary/widget_definition/vertical_scrollbar.cpp
M src/gui/auxiliary/widget_definition/vertical_scrollbar.hpp
M src/gui/auxiliary/widget_definition/window.cpp
M src/gui/auxiliary/widget_definition/window.hpp
M src/gui/auxiliary/window_builder.cpp
M src/gui/auxiliary/window_builder.hpp
M src/gui/auxiliary/window_builder/button.cpp
M src/gui/auxiliary/window_builder/button.hpp
M src/gui/auxiliary/window_builder/control.cpp
M src/gui/auxiliary/window_builder/control.hpp
M src/gui/auxiliary/window_builder/drawing.cpp
M src/gui/auxiliary/window_builder/drawing.hpp
M src/gui/auxiliary/window_builder/helper.cpp
M src/gui/auxiliary/window_builder/helper.hpp
M src/gui/auxiliary/window_builder/horizontal_listbox.cpp
M src/gui/auxiliary/window_builder/horizontal_listbox.hpp
M src/gui/auxiliary/window_builder/horizontal_scrollbar.cpp
M src/gui/auxiliary/window_builder/horizontal_scrollbar.hpp
M src/gui/auxiliary/window_builder/image.cpp
M src/gui/auxiliary/window_builder/image.hpp
M src/gui/auxiliary/window_builder/instance.cpp
M src/gui/auxiliary/window_builder/instance.hpp
M src/gui/auxiliary/window_builder/label.cpp
M src/gui/auxiliary/window_builder/label.hpp
M src/gui/auxiliary/window_builder/listbox.cpp
M src/gui/auxiliary/window_builder/listbox.hpp
M src/gui/auxiliary/window_builder/matrix.cpp
M src/gui/auxiliary/window_builder/matrix.hpp
M src/gui/auxiliary/window_builder/minimap.cpp
M src/gui/auxiliary/window_builder/minimap.hpp
M src/gui/auxiliary/window_builder/multi_page.cpp
M src/gui/auxiliary/window_builder/multi_page.hpp
M src/gui/auxiliary/window_builder/pane.cpp
M src/gui/auxiliary/window_builder/pane.hpp
M src/gui/auxiliary/window_builder/panel.cpp
M src/gui/auxiliary/window_builder/panel.hpp
M src/gui/auxiliary/window_builder/password_box.cpp
M src/gui/auxiliary/window_builder/password_box.hpp
M src/gui/auxiliary/window_builder/progress_bar.cpp
M src/gui/auxiliary/window_builder/progress_bar.hpp
M src/gui/auxiliary/window_builder/repeating_button.cpp
M src/gui/auxiliary/window_builder/repeating_button.hpp
M src/gui/auxiliary/window_builder/scroll_label.cpp
M src/gui/auxiliary/window_builder/scroll_label.hpp
M src/gui/auxiliary/window_builder/scrollbar_panel.cpp
M src/gui/auxiliary/window_builder/scrollbar_panel.hpp
M src/gui/auxiliary/window_builder/slider.cpp
M src/gui/auxiliary/window_builder/slider.hpp
M src/gui/auxiliary/window_builder/spacer.cpp
M src/gui/auxiliary/window_builder/spacer.hpp
M src/gui/auxiliary/window_builder/stacked_widget.cpp
M src/gui/auxiliary/window_builder/stacked_widget.hpp
M src/gui/auxiliary/window_builder/text_box.cpp
M src/gui/auxiliary/window_builder/text_box.hpp
M src/gui/auxiliary/window_builder/toggle_button.cpp
M src/gui/auxiliary/window_builder/toggle_button.hpp
M src/gui/auxiliary/window_builder/toggle_panel.cpp
M src/gui/auxiliary/window_builder/toggle_panel.hpp
M src/gui/auxiliary/window_builder/tree_view.cpp
M src/gui/auxiliary/window_builder/tree_view.hpp
M src/gui/auxiliary/window_builder/vertical_scrollbar.cpp
M src/gui/auxiliary/window_builder/vertical_scrollbar.hpp
M src/gui/auxiliary/window_builder/viewport.cpp
M src/gui/auxiliary/window_builder/viewport.hpp
M src/gui/dialogs/addon/description.cpp
M src/gui/dialogs/addon/description.hpp
M src/gui/dialogs/addon/filter_options.cpp
M src/gui/dialogs/addon/filter_options.hpp
M src/gui/dialogs/addon/uninstall_list.cpp
M src/gui/dialogs/addon/uninstall_list.hpp
M src/gui/dialogs/addon_connect.cpp
M src/gui/dialogs/addon_connect.hpp
M src/gui/dialogs/addon_list.cpp
M src/gui/dialogs/addon_list.hpp
M src/gui/dialogs/campaign_difficulty.cpp
M src/gui/dialogs/campaign_difficulty.hpp
M src/gui/dialogs/campaign_selection.cpp
M src/gui/dialogs/campaign_selection.hpp
M src/gui/dialogs/chat_log.cpp
M src/gui/dialogs/chat_log.hpp
M src/gui/dialogs/data_manage.cpp
M src/gui/dialogs/data_manage.hpp
M src/gui/dialogs/debug_clock.cpp
M src/gui/dialogs/debug_clock.hpp
M src/gui/dialogs/dialog.cpp
M src/gui/dialogs/dialog.hpp
M src/gui/dialogs/edit_label.cpp
M src/gui/dialogs/edit_label.hpp
M src/gui/dialogs/edit_text.cpp
M src/gui/dialogs/edit_text.hpp
M src/gui/dialogs/editor/custom_tod.cpp
M src/gui/dialogs/editor/custom_tod.hpp
M src/gui/dialogs/editor/editor_edit_label.cpp
M src/gui/dialogs/editor/editor_edit_label.hpp
M src/gui/dialogs/editor/editor_edit_scenario.cpp
M src/gui/dialogs/editor/editor_edit_scenario.hpp
M src/gui/dialogs/editor/editor_edit_side.cpp
M src/gui/dialogs/editor/editor_edit_side.hpp
M src/gui/dialogs/editor_generate_map.cpp
M src/gui/dialogs/editor_generate_map.hpp
M src/gui/dialogs/editor_new_map.cpp
M src/gui/dialogs/editor_new_map.hpp
M src/gui/dialogs/editor_resize_map.cpp
M src/gui/dialogs/editor_resize_map.hpp
M src/gui/dialogs/editor_set_starting_position.cpp
M src/gui/dialogs/editor_set_starting_position.hpp
M src/gui/dialogs/field-fwd.hpp
M src/gui/dialogs/field.hpp
M src/gui/dialogs/folder_create.cpp
M src/gui/dialogs/folder_create.hpp
M src/gui/dialogs/formula_debugger.cpp
M src/gui/dialogs/formula_debugger.hpp
M src/gui/dialogs/game_delete.cpp
M src/gui/dialogs/game_delete.hpp
M src/gui/dialogs/game_load.cpp
M src/gui/dialogs/game_load.hpp
M src/gui/dialogs/game_paths.cpp
M src/gui/dialogs/game_paths.hpp
M src/gui/dialogs/game_save.cpp
M src/gui/dialogs/game_save.hpp
M src/gui/dialogs/gamestate_inspector.cpp
M src/gui/dialogs/gamestate_inspector.hpp
M src/gui/dialogs/helper.hpp
M src/gui/dialogs/language_selection.cpp
M src/gui/dialogs/language_selection.hpp
M src/gui/dialogs/lobby/lobby_data.cpp
M src/gui/dialogs/lobby/lobby_data.hpp
M src/gui/dialogs/lobby/lobby_info.cpp
M src/gui/dialogs/lobby/lobby_info.hpp
M src/gui/dialogs/lobby_main.cpp
M src/gui/dialogs/lobby_main.hpp
M src/gui/dialogs/lobby_player_info.cpp
M src/gui/dialogs/lobby_player_info.hpp
M src/gui/dialogs/message.cpp
M src/gui/dialogs/message.hpp
M src/gui/dialogs/mp_change_control.cpp
M src/gui/dialogs/mp_change_control.hpp
M src/gui/dialogs/mp_cmd_wrapper.cpp
M src/gui/dialogs/mp_cmd_wrapper.hpp
M src/gui/dialogs/mp_connect.cpp
M src/gui/dialogs/mp_connect.hpp
M src/gui/dialogs/mp_create_game.cpp
M src/gui/dialogs/mp_create_game.hpp
M src/gui/dialogs/mp_create_game_set_password.cpp
M src/gui/dialogs/mp_create_game_set_password.hpp
M src/gui/dialogs/mp_depcheck_confirm_change.cpp
M src/gui/dialogs/mp_depcheck_confirm_change.hpp
M src/gui/dialogs/mp_depcheck_select_new.cpp
M src/gui/dialogs/mp_depcheck_select_new.hpp
M src/gui/dialogs/mp_host_game_prompt.cpp
M src/gui/dialogs/mp_host_game_prompt.hpp
M src/gui/dialogs/mp_login.cpp
M src/gui/dialogs/mp_login.hpp
M src/gui/dialogs/mp_method_selection.cpp
M src/gui/dialogs/mp_method_selection.hpp
M src/gui/dialogs/network_transmission.cpp
M src/gui/dialogs/network_transmission.hpp
M src/gui/dialogs/popup.cpp
M src/gui/dialogs/popup.hpp
M src/gui/dialogs/simple_item_selector.cpp
M src/gui/dialogs/simple_item_selector.hpp
M src/gui/dialogs/tip.cpp
M src/gui/dialogs/tip.hpp
M src/gui/dialogs/title_screen.cpp
M src/gui/dialogs/title_screen.hpp
M src/gui/dialogs/transient_message.cpp
M src/gui/dialogs/transient_message.hpp
M src/gui/dialogs/unit_attack.cpp
M src/gui/dialogs/unit_attack.hpp
M src/gui/dialogs/unit_create.cpp
M src/gui/dialogs/unit_create.hpp
M src/gui/dialogs/wml_message.cpp
M src/gui/dialogs/wml_message.hpp
M src/gui/lib/types/point.cpp
M src/gui/lib/types/point.hpp
M src/gui/widgets/button.cpp
M src/gui/widgets/button.hpp
M src/gui/widgets/clickable.hpp
M src/gui/widgets/container.cpp
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/debug.hpp
M src/gui/widgets/detail/register.tpp
M src/gui/widgets/drawing.cpp
M src/gui/widgets/drawing.hpp
M src/gui/widgets/event_executor.hpp
M src/gui/widgets/generator.cpp
M src/gui/widgets/generator.hpp
M src/gui/widgets/generator_private.hpp
M src/gui/widgets/grid.cpp
M src/gui/widgets/grid.hpp
M src/gui/widgets/grid_private.hpp
M src/gui/widgets/helper.cpp
M src/gui/widgets/helper.hpp
M src/gui/widgets/horizontal_scrollbar.cpp
M src/gui/widgets/horizontal_scrollbar.hpp
M src/gui/widgets/image.cpp
M src/gui/widgets/image.hpp
M src/gui/widgets/integer_selector.hpp
M src/gui/widgets/label.cpp
M src/gui/widgets/label.hpp
M src/gui/widgets/list.cpp
M src/gui/widgets/list.hpp
M src/gui/widgets/listbox.cpp
M src/gui/widgets/listbox.hpp
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/multi_page.hpp
M src/gui/widgets/pane.cpp
M src/gui/widgets/pane.hpp
M src/gui/widgets/panel.cpp
M src/gui/widgets/panel.hpp
M src/gui/widgets/password_box.cpp
M src/gui/widgets/password_box.hpp
M src/gui/widgets/progress_bar.cpp
M src/gui/widgets/progress_bar.hpp
M src/gui/widgets/repeating_button.cpp
M src/gui/widgets/repeating_button.hpp
M src/gui/widgets/scroll_label.cpp
M src/gui/widgets/scroll_label.hpp
M src/gui/widgets/scrollbar.cpp
M src/gui/widgets/scrollbar.hpp
M src/gui/widgets/scrollbar_container.cpp
M src/gui/widgets/scrollbar_container.hpp
M src/gui/widgets/scrollbar_container_private.hpp
M src/gui/widgets/scrollbar_panel.cpp
M src/gui/widgets/scrollbar_panel.hpp
M src/gui/widgets/selectable.hpp
M src/gui/widgets/settings.cpp
M src/gui/widgets/settings.hpp
M src/gui/widgets/slider.cpp
M src/gui/widgets/slider.hpp
M src/gui/widgets/spacer.cpp
M src/gui/widgets/spacer.hpp
M src/gui/widgets/stacked_widget.cpp
M src/gui/widgets/stacked_widget.hpp
M src/gui/widgets/text.cpp
M src/gui/widgets/text.hpp
M src/gui/widgets/text_box.cpp
M src/gui/widgets/text_box.hpp
M src/gui/widgets/toggle_button.cpp
M src/gui/widgets/toggle_button.hpp
M src/gui/widgets/toggle_panel.cpp
M src/gui/widgets/toggle_panel.hpp
M src/gui/widgets/tree_view.cpp
M src/gui/widgets/tree_view.hpp
M src/gui/widgets/tree_view_node.cpp
M src/gui/widgets/tree_view_node.hpp
M src/gui/widgets/vertical_scrollbar.cpp
M src/gui/widgets/vertical_scrollbar.hpp
M src/gui/widgets/viewport.cpp
M src/gui/widgets/viewport.hpp
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/gui/widgets/window_private.hpp
Log Message:
-----------
Use clang-format on the gui directory.
Most of the formatting has been done automatically, but some minor manual
polishing has been applied afterwards.
Also add .clang-format file containing the settings used for the
formatting.
Compare: https://github.com/wesnoth/wesnoth-old/compare/5fe1dbf88364...e5253f32650b
More information about the Commits
mailing list