[Commits] [wesnoth/wesnoth] f2bdee: Remove unused ucs2_string. If we want a utf16 type...
GitHub
noreply at github.com
Sun Mar 23 03:26:06 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: f2bdee1a809c319f2a0bbb99248aceed9575ade4
https://github.com/wesnoth/wesnoth/commit/f2bdee1a809c319f2a0bbb99248aceed9575ade4
Author: Alexander van Gessel <ai0867 at gmail.com>
Date: 2014-03-17 (Mon, 17 Mar 2014)
Changed paths:
M src/serialization/string_utils.hpp
Log Message:
-----------
Remove unused ucs2_string. If we want a utf16 type, it should be named for that
Commit: 1e154dd1f4de1863b40df0678cc1f7c7995a4e20
https://github.com/wesnoth/wesnoth/commit/1e154dd1f4de1863b40df0678cc1f7c7995a4e20
Author: Alexander van Gessel <ai0867 at gmail.com>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M changelog
M data/ai/micro_ais/cas/ca_patrol.lua
M data/gui/default/window/lobby_main.cfg
M data/tools/vim/wesml.vim
M projectfiles/VC9/liblua.vcproj
M projectfiles/VC9/wesnoth.vcproj
M projectfiles/VC9/wesnothd.vcproj
M projectfiles/VC9/wesnothlib.vcproj
R py-compile
M src/util.hpp
A utils/py-compile
Log Message:
-----------
Merge branch 'master' of github.com:wesnoth/wesnoth
Commit: 6318b37ffd4035908eb529d493c390ee0e85e289
https://github.com/wesnoth/wesnoth/commit/6318b37ffd4035908eb529d493c390ee0e85e289
Author: Alexander van Gessel <ai0867 at gmail.com>
Date: 2014-03-23 (Sun, 23 Mar 2014)
Changed paths:
M src/addon/manager_ui.cpp
M src/construct_dialog.cpp
M src/construct_dialog.hpp
M src/desktop_util.cpp
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/help.cpp
M src/hotkey/hotkey_item.cpp
M src/marked-up_text.cpp
M src/marked-up_text.hpp
M src/race.cpp
M src/race.hpp
M src/serialization/string_utils.cpp
M src/serialization/string_utils.hpp
M src/server/player_network.cpp
M src/text.cpp
M src/text.hpp
M src/widgets/textbox.cpp
M src/widgets/textbox.hpp
M src/windows_tray_notification.cpp
M src/windows_tray_notification.hpp
Log Message:
-----------
Get rid of utils::wide_string
utils::wide_string was a std::vector<wchar_t>
On most unix systems, this is 32 bits wide, and therefore a UCS-4 encoding.
On windows however, wchar_t is 16 bits wide, and the naive approach results
in UCS-2, which can only represent the Basic Multilingual Plane.
Most functions that used wide_string have been moved over to ucs4_string.
The Win32 API has been moved over to a specially created utf16_string instead.
Specialty tolower #ifdefs have been removed, as the towlower function has
been available since OS X 10.3, OpenBSD 3.7 and probably ancient versions of
all other BSDs too. The only issue is that on windows, the function cannot
be applied to characters outside the BMP.
Commit: 9d2465fb204bb1b56e2b9d27aa23101db254c52b
https://github.com/wesnoth/wesnoth/commit/9d2465fb204bb1b56e2b9d27aa23101db254c52b
Author: Alexander van Gessel <ai0867 at gmail.com>
Date: 2014-03-23 (Sun, 23 Mar 2014)
Changed paths:
M src/windows_tray_notification.cpp
Log Message:
-----------
Prevent some possible buffer overflows
Commit: 1f4fe17576366c8371769c689d1eea62184cf657
https://github.com/wesnoth/wesnoth/commit/1f4fe17576366c8371769c689d1eea62184cf657
Author: Alexander van Gessel <ai0867 at gmail.com>
Date: 2014-03-23 (Sun, 23 Mar 2014)
Changed paths:
M src/tests/test_serialization.cpp
Log Message:
-----------
Add some unicode handling tests
Commit: b0d31d07e366db74dae1277d21c34abf7ed849d6
https://github.com/wesnoth/wesnoth/commit/b0d31d07e366db74dae1277d21c34abf7ed849d6
Author: Alexander van Gessel <ai0867 at gmail.com>
Date: 2014-03-23 (Sun, 23 Mar 2014)
Changed paths:
M src/addon/manager_ui.cpp
M src/construct_dialog.cpp
M src/construct_dialog.hpp
M src/desktop_util.cpp
M src/help.cpp
M src/hotkey/hotkey_item.cpp
M src/marked-up_text.cpp
M src/marked-up_text.hpp
M src/race.cpp
M src/race.hpp
M src/serialization/string_utils.cpp
M src/serialization/string_utils.hpp
M src/server/player_network.cpp
M src/tests/test_serialization.cpp
M src/text.cpp
M src/text.hpp
M src/widgets/textbox.cpp
M src/widgets/textbox.hpp
M src/windows_tray_notification.cpp
M src/windows_tray_notification.hpp
Log Message:
-----------
Merge branch 'wide_string_elimination'
Conflicts:
src/dialogs.cpp
src/gui/dialogs/addon_list.cpp
src/gui/widgets/password_box.cpp
src/gui/widgets/text.cpp
src/gui/widgets/text_box.cpp
src/marked-up_text.cpp
src/serialization/string_utils.cpp
src/serialization/string_utils.hpp
src/text.cpp
Commit: a25a0b7d353020563f312aaa278782b151a93327
https://github.com/wesnoth/wesnoth/commit/a25a0b7d353020563f312aaa278782b151a93327
Author: Alexander van Gessel <ai0867 at gmail.com>
Date: 2014-03-23 (Sun, 23 Mar 2014)
Changed paths:
M src/tests/test_serialization.cpp
Log Message:
-----------
Reshuffle some tests
Commit: 6b5f357b6ecd391386d06a5fbab5c3c4746c9a76
https://github.com/wesnoth/wesnoth/commit/6b5f357b6ecd391386d06a5fbab5c3c4746c9a76
Author: Alexander van Gessel <ai0867 at gmail.com>
Date: 2014-03-23 (Sun, 23 Mar 2014)
Changed paths:
M src/construct_dialog.cpp
M src/construct_dialog.hpp
M src/desktop_util.cpp
M src/help.cpp
M src/hotkey/hotkey_item.cpp
M src/marked-up_text.cpp
M src/marked-up_text.hpp
M src/race.cpp
M src/race.hpp
M src/serialization/string_utils.cpp
M src/serialization/string_utils.hpp
M src/server/player_network.cpp
M src/tests/test_serialization.cpp
M src/text.cpp
M src/text.hpp
M src/widgets/textbox.cpp
M src/widgets/textbox.hpp
M src/windows_tray_notification.cpp
Log Message:
-----------
Follow up the utf8 namespace with ucs4 and utf16 namespaces
Compare: https://github.com/wesnoth/wesnoth/compare/8386c592e79b...6b5f357b6ecd
More information about the Commits
mailing list