[Commits] [wesnoth/wesnoth] d55848: fix password box documetation

GitHub noreply at github.com
Sun Mar 23 00:10:16 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d55848319d8633c6890a1ad6e205f6a8be70ed4c
      https://github.com/wesnoth/wesnoth/commit/d55848319d8633c6890a1ad6e205f6a8be70ed4c
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-03-22 (Sat, 22 Mar 2014)

  Changed paths:
    M src/gui/widgets/password_box.hpp
    M src/gui/widgets/settings.cpp

  Log Message:
  -----------
  fix password box documetation

Signed-off-by: aquileia <sk.aquileia at gmail.com>


  Commit: c9283581068827c6acf64e8e36c1364e875bd941
      https://github.com/wesnoth/wesnoth/commit/c9283581068827c6acf64e8e36c1364e875bd941
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-03-22 (Sat, 22 Mar 2014)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  Extend .gitignore for VC project files

This commit adapts .gitignore to the new MSVC compilation
recommandations on the wiki.

Signed-off-by: aquileia <sk.aquileia at gmail.com>


  Commit: 52c80db79e72ee0b7b6ca8a2f45e88b1e84052d0
      https://github.com/wesnoth/wesnoth/commit/52c80db79e72ee0b7b6ca8a2f45e88b1e84052d0
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-03-22 (Sat, 22 Mar 2014)

  Changed paths:
    M src/dialogs.cpp
    M src/gui/dialogs/addon_list.cpp
    M src/gui/widgets/password_box.cpp
    M src/gui/widgets/text.cpp
    M src/gui/widgets/text_box.cpp
    M src/serialization/string_utils.cpp
    M src/serialization/string_utils.hpp
    M src/tests/test_serialization.cpp
    M src/text.cpp

  Log Message:
  -----------
  Improve UTF-8 handling

For manipulation of UTF-8 encoded strings (insert, delete, truncate, and
size), usually conversion to wstring and back was necessary. This has
two disadvantages:
* the size of wstring is implementation defined
* the
double conversion is slow

The purpose of this patch is to add functions
to handle these tasks by a layer handling the different indexing between
codepoints and characters.

This commit applies these functions in
several places to replace the old implementations.

The byte_size_from_utf8_first() implementation will be replaced in a
separate commit as it relies on the count_leading_ones function by 8680.

Signed-off-by: aquileia <sk.aquileia at gmail.com>


  Commit: 9351a252493d8f6871a88211e24e530f652ab766
      https://github.com/wesnoth/wesnoth/commit/9351a252493d8f6871a88211e24e530f652ab766
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-03-22 (Sat, 22 Mar 2014)

  Changed paths:
    M src/gui/widgets/text_box.cpp

  Log Message:
  -----------
  Fix a wrongly passed parameter in text_box.cpp


  Commit: 2f6a6a7d0e8b33ab7d3926a124033ebc47e78f43
      https://github.com/wesnoth/wesnoth/commit/2f6a6a7d0e8b33ab7d3926a124033ebc47e78f43
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-03-22 (Sat, 22 Mar 2014)

  Changed paths:
    M src/addon/manager_ui.cpp
    M src/campaign_server/campaign_server.cpp
    M src/construct_dialog.cpp
    M src/construct_dialog.hpp
    M src/dialogs.cpp
    M src/filesystem.cpp
    M src/font.cpp
    M src/game_display.cpp
    M src/game_events/action_wml.cpp
    M src/gui/auxiliary/filter.hpp
    M src/gui/dialogs/addon_list.cpp
    M src/gui/dialogs/chat_log.cpp
    M src/gui/widgets/password_box.cpp
    M src/gui/widgets/text.cpp
    M src/gui/widgets/text_box.cpp
    M src/help.cpp
    M src/marked-up_text.cpp
    M src/savegame.cpp
    M src/serialization/string_utils.cpp
    M src/serialization/string_utils.hpp
    M src/server/ban.cpp
    M src/server/server.cpp
    M src/storyscreen/render.cpp
    M src/tests/test_serialization.cpp
    M src/text.cpp

  Log Message:
  -----------
  move UTF-8 functions to a separate namespace


  Commit: 246f599bd090c567f2692cc7e5e70b4bb2b5556e
      https://github.com/wesnoth/wesnoth/commit/246f599bd090c567f2692cc7e5e70b4bb2b5556e
  Author: aquileia <sk.aquileia at gmail.com>
  Date:   2014-03-23 (Sun, 23 Mar 2014)

  Changed paths:
    M src/serialization/string_utils.cpp
    M src/tests/test_serialization.cpp

  Log Message:
  -----------
  fix signature and test for UTF-8 functions

On the advise of 8680, the unicode string was replaced by the hex
transcription of the corresponding codepoints (which he kindly
provided).
This might help to pass the overzealous encoding check of clang.

This commit also fixes a discrepancy between the signature of u8index in
declaration and definition.


  Commit: 8386c592e79b4f5fb757b5e318d79550fe011103
      https://github.com/wesnoth/wesnoth/commit/8386c592e79b4f5fb757b5e318d79550fe011103
  Author: Alexander van Gessel <AI0867 at gmail.com>
  Date:   2014-03-23 (Sun, 23 Mar 2014)

  Changed paths:
    M .gitignore
    M src/addon/manager_ui.cpp
    M src/campaign_server/campaign_server.cpp
    M src/construct_dialog.cpp
    M src/construct_dialog.hpp
    M src/dialogs.cpp
    M src/filesystem.cpp
    M src/font.cpp
    M src/game_display.cpp
    M src/game_events/action_wml.cpp
    M src/gui/auxiliary/filter.hpp
    M src/gui/dialogs/addon_list.cpp
    M src/gui/dialogs/chat_log.cpp
    M src/gui/widgets/password_box.cpp
    M src/gui/widgets/password_box.hpp
    M src/gui/widgets/settings.cpp
    M src/gui/widgets/text.cpp
    M src/gui/widgets/text_box.cpp
    M src/help.cpp
    M src/marked-up_text.cpp
    M src/savegame.cpp
    M src/serialization/string_utils.cpp
    M src/serialization/string_utils.hpp
    M src/server/ban.cpp
    M src/server/server.cpp
    M src/storyscreen/render.cpp
    M src/tests/test_serialization.cpp
    M src/text.cpp

  Log Message:
  -----------
  Merge pull request #126 from aquileia/utf8

Improve UTF-8 handling


Compare: https://github.com/wesnoth/wesnoth/compare/e96bd0f1e102...8386c592e79b


More information about the Commits mailing list