[Commits] [wesnoth/wesnoth] e3417b: split gui1 font interface into a font_config and s...

GitHub noreply at github.com
Sun Oct 16 00:47:18 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e3417bd954430110f22f3a3b1da08125d1b2f187
      https://github.com/wesnoth/wesnoth/commit/e3417bd954430110f22f3a3b1da08125d1b2f187
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

  Changed paths:
    M src/CMakeLists.txt
    M src/SConscript
    M src/addon/state.cpp
    M src/display.hpp
    M src/editor/palette/tristate_button.cpp
    M src/floating_label.cpp
    M src/floating_label.hpp
    R src/font.cpp
    R src/font.hpp
    A src/font/font_config.cpp
    A src/font/font_config.hpp
    A src/font/font_description.hpp
    A src/font/font_id.hpp
    A src/font/sdl_ttf.cpp
    A src/font/sdl_ttf.hpp
    A src/font/text_cache.cpp
    A src/font/text_cache.hpp
    A src/font/text_surface.cpp
    A src/font/text_surface.hpp
    M src/game_launcher.hpp
    M src/gui/dialogs/addon/list.cpp
    M src/gui/widgets/control.cpp
    M src/gui/widgets/text_box.cpp
    M src/gui/widgets/window.cpp
    M src/help/help.cpp
    M src/help/help_browser.cpp
    M src/help/help_impl.hpp
    M src/help/help_text_area.hpp
    M src/help/help_topic_generators.hpp
    M src/intro.cpp
    M src/map/label.hpp
    M src/marked-up_text.cpp
    M src/reports.cpp
    M src/show_dialog.hpp
    M src/tests/utils/game_config_manager.cpp
    M src/text.cpp
    M src/theme.cpp
    M src/tooltips.cpp
    M src/video.cpp
    M src/wesnoth.cpp
    M src/widgets/button.cpp
    M src/widgets/label.hpp
    M src/widgets/menu.cpp
    M src/widgets/menu_style.cpp
    M src/widgets/slider.cpp
    M src/widgets/textbox.hpp

  Log Message:
  -----------
  split gui1 font interface into a font_config and sdl_ttf interface

move all of these into font folder


  Commit: 1336306884eceb8c00a952933dd9b180d7f5c603
      https://github.com/wesnoth/wesnoth/commit/1336306884eceb8c00a952933dd9b180d7f5c603
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

  Changed paths:
    M src/CMakeLists.txt
    M src/SConscript
    M src/display.cpp
    M src/floating_label.cpp
    M src/font/font_config.cpp
    M src/font/font_id.hpp
    A src/font/font_options.hpp
    A src/font/text.cpp
    A src/font/text.hpp
    M src/font/text_cache.cpp
    R src/font_options.hpp
    M src/gui/core/canvas.cpp
    M src/gui/core/widget_definition.hpp
    M src/gui/dialogs/lua_interpreter.cpp
    M src/gui/widgets/control.hpp
    M src/gui/widgets/text.hpp
    M src/help/help_browser.cpp
    M src/help/help_impl.hpp
    M src/reports.cpp
    M src/storyscreen/interface.cpp
    M src/storyscreen/render.cpp
    R src/text.cpp
    R src/text.hpp
    M src/tools/sdl2/sdl2.cpp
    M src/widgets/button.cpp
    M src/widgets/label.cpp

  Log Message:
  -----------
  move font_options, text.?pp to font folder

also fix indentation in previous commit


  Commit: c2df4333800c7630db7cf9a046cb5cbe6691bfc5
      https://github.com/wesnoth/wesnoth/commit/c2df4333800c7630db7cf9a046cb5cbe6691bfc5
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

  Changed paths:
    M src/font/font_config.hpp
    A src/font/pango/escape.hpp
    A src/font/pango/font.hpp
    A src/font/pango/hyperlink.hpp
    A src/font/pango/iter.hpp
    A src/font/pango/stream_ops.hpp
    M src/font/sdl_ttf.hpp
    M src/font/text.cpp
    M src/font/text.hpp
    M src/gui/dialogs/chat_log.cpp
    M src/gui/dialogs/formula_debugger.cpp
    M src/gui/dialogs/lua_interpreter.cpp
    M src/gui/widgets/chatbox.cpp
    M src/reports.cpp

  Log Message:
  -----------
  move pango-related helper objects and functions to their own file

this avoids including pango unnecessarily and keeps things more
organized


  Commit: 42898b79f973ee6cad4aa9beaf9840e0385ed166
      https://github.com/wesnoth/wesnoth/commit/42898b79f973ee6cad4aa9beaf9840e0385ed166
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

  Changed paths:
    M src/font/text.cpp
    M src/font/text.hpp

  Log Message:
  -----------
  refactor font::ttext to use a vector for buffer


  Commit: 1e1a23e083984c7c96aed260dd6124ccd394beb8
      https://github.com/wesnoth/wesnoth/commit/1e1a23e083984c7c96aed260dd6124ccd394beb8
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

  Changed paths:
    M src/font/pango/escape.hpp
    M src/font/pango/font.hpp
    M src/font/pango/hyperlink.hpp
    M src/font/pango/iter.hpp
    M src/font/pango/stream_ops.hpp

  Log Message:
  -----------
  add missing copyright statements


  Commit: 6b978a7411e59f1d6490ad19efe995ea4a3b474d
      https://github.com/wesnoth/wesnoth/commit/6b978a7411e59f1d6490ad19efe995ea4a3b474d
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

  Changed paths:
    M src/font/sdl_ttf.hpp

  Log Message:
  -----------
  fix a copyright statement


  Commit: f82f996347d948e0bbc4830e907d08d8e5f18c50
      https://github.com/wesnoth/wesnoth/commit/f82f996347d948e0bbc4830e907d08d8e5f18c50
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

  Changed paths:
    M src/CMakeLists.txt
    M src/SConscript
    M src/editor/palette/tristate_button.cpp
    A src/font/constants.cpp
    A src/font/constants.hpp
    M src/font/font_description.hpp
    M src/font/pango/hyperlink.hpp
    M src/font/sdl_ttf.hpp
    M src/font/text_surface.hpp
    M src/game_initialization/multiplayer.cpp
    M src/game_initialization/multiplayer_lobby.cpp
    M src/game_initialization/multiplayer_ui.cpp
    M src/gui/dialogs/addon/list.cpp
    M src/gui/widgets/control.cpp
    M src/gui/widgets/text_box.cpp
    M src/gui/widgets/window.cpp
    M src/help/help.cpp
    M src/help/help_browser.cpp
    M src/help/help_browser.hpp
    M src/help/help_text_area.hpp
    M src/help/help_topic_generators.cpp
    M src/help/help_topic_generators.hpp
    M src/map/label.hpp
    M src/reports.cpp
    M src/show_dialog.cpp
    M src/tooltips.cpp
    M src/widgets/label.hpp
    M src/widgets/textbox.cpp
    M src/widgets/textbox.hpp

  Log Message:
  -----------
  move font constants to their own compilation unit

avoids including SDL_TTF unnecessarily


  Commit: b280639abeb29bfcf6acb2afc3a71dbd89b43dc8
      https://github.com/wesnoth/wesnoth/commit/b280639abeb29bfcf6acb2afc3a71dbd89b43dc8
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

  Changed paths:
    M src/font/text.cpp

  Log Message:
  -----------
  rewrite cairo format conversion function to avoid squirrely endian stuff

this way, no preprocessor symbols / explicit endian detection is required...


  Commit: a9f15c5795f9f813e11843003c28dc1e87f8df84
      https://github.com/wesnoth/wesnoth/commit/a9f15c5795f9f813e11843003c28dc1e87f8df84
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

  Changed paths:
    M src/font/text.cpp

  Log Message:
  -----------
  remove code comment related to surface buffer initialization


  Commit: 7e844082f1f4c622de789cf27e40953afdb17937
      https://github.com/wesnoth/wesnoth/commit/7e844082f1f4c622de789cf27e40953afdb17937
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2016-10-15 (Sat, 15 Oct 2016)

  Changed paths:
    M src/font/text.cpp

  Log Message:
  -----------
  fix indentation


  Commit: be51353800d442e3c357185025271e57d470a958
      https://github.com/wesnoth/wesnoth/commit/be51353800d442e3c357185025271e57d470a958
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-10-16 (Sun, 16 Oct 2016)

  Changed paths:
    M src/CMakeLists.txt
    M src/SConscript
    M src/addon/state.cpp
    M src/display.cpp
    M src/display.hpp
    M src/editor/palette/tristate_button.cpp
    M src/floating_label.cpp
    M src/floating_label.hpp
    R src/font.cpp
    R src/font.hpp
    A src/font/constants.cpp
    A src/font/constants.hpp
    A src/font/font_config.cpp
    A src/font/font_config.hpp
    A src/font/font_description.hpp
    A src/font/font_id.hpp
    A src/font/font_options.hpp
    A src/font/pango/escape.hpp
    A src/font/pango/font.hpp
    A src/font/pango/hyperlink.hpp
    A src/font/pango/iter.hpp
    A src/font/pango/stream_ops.hpp
    A src/font/sdl_ttf.cpp
    A src/font/sdl_ttf.hpp
    A src/font/text.cpp
    A src/font/text.hpp
    A src/font/text_cache.cpp
    A src/font/text_cache.hpp
    A src/font/text_surface.cpp
    A src/font/text_surface.hpp
    R src/font_options.hpp
    M src/game_initialization/multiplayer.cpp
    M src/game_initialization/multiplayer_lobby.cpp
    M src/game_initialization/multiplayer_ui.cpp
    M src/game_launcher.hpp
    M src/gui/core/canvas.cpp
    M src/gui/core/widget_definition.hpp
    M src/gui/dialogs/addon/list.cpp
    M src/gui/dialogs/chat_log.cpp
    M src/gui/dialogs/formula_debugger.cpp
    M src/gui/dialogs/lua_interpreter.cpp
    M src/gui/widgets/chatbox.cpp
    M src/gui/widgets/control.cpp
    M src/gui/widgets/control.hpp
    M src/gui/widgets/text.hpp
    M src/gui/widgets/text_box.cpp
    M src/gui/widgets/window.cpp
    M src/help/help.cpp
    M src/help/help_browser.cpp
    M src/help/help_browser.hpp
    M src/help/help_impl.hpp
    M src/help/help_text_area.hpp
    M src/help/help_topic_generators.cpp
    M src/help/help_topic_generators.hpp
    M src/intro.cpp
    M src/map/label.hpp
    M src/marked-up_text.cpp
    M src/reports.cpp
    M src/show_dialog.cpp
    M src/show_dialog.hpp
    M src/storyscreen/interface.cpp
    M src/storyscreen/render.cpp
    M src/tests/utils/game_config_manager.cpp
    R src/text.cpp
    R src/text.hpp
    M src/theme.cpp
    M src/tools/sdl2/sdl2.cpp
    M src/tooltips.cpp
    M src/video.cpp
    M src/wesnoth.cpp
    M src/widgets/button.cpp
    M src/widgets/label.cpp
    M src/widgets/label.hpp
    M src/widgets/menu.cpp
    M src/widgets/menu_style.cpp
    M src/widgets/slider.cpp
    M src/widgets/textbox.cpp
    M src/widgets/textbox.hpp

  Log Message:
  -----------
  Merge pull request #827 from cbeck88/font_refactor

refactor font code


Compare: https://github.com/wesnoth/wesnoth/compare/28a45d001372...be51353800d4


More information about the Commits mailing list