CodeCheck chokes on non ascii characters
Bug #1326222 reported by
SirVer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
There are some files in the repository that contain non-ascii characters, but all files are formatted using utf-8, so it should be fine to just parse them as such.
Related branches
lp:~widelands-dev/widelands/cmake-reworked
- Shevonar: Approve
- Tino: Approve
-
Diff: 10521 lines (+2596/-2754)341 files modifiedCMakeLists.txt (+178/-521)
cmake/Modules/FindMinizip.cmake (+0/-37)
cmake/Modules/NSIS.template.in (+0/-994)
cmake/codecheck/CodeCheck.cmake (+13/-19)
cmake/codecheck/rules/const_qualifier_for_parameter_passed_by_value (+3/-3)
cmake/codecheck/rules/do_not_include_libintl (+34/-0)
src/CMakeLists.txt (+577/-150)
src/ai/ai_hints.cc (+1/-0)
src/ai/ai_hints.h (+2/-1)
src/ai/defaultai.cc (+1/-1)
src/ai/defaultai.h (+1/-1)
src/base/CMakeLists.txt (+30/-0)
src/base/exceptions.cc (+5/-7)
src/base/i18n.cc (+73/-12)
src/base/i18n.h (+3/-2)
src/base/log.cc (+1/-5)
src/base/port.cc (+20/-0)
src/base/warning.h (+4/-4)
src/base/wexception.h (+3/-4)
src/campvis.cc (+1/-1)
src/economy/cmd_call_economy_balance.cc (+1/-1)
src/economy/economy.cc (+1/-1)
src/economy/flag.cc (+1/-1)
src/economy/idleworkersupply.cc (+1/-1)
src/economy/iroute.h (+1/-1)
src/economy/portdock.cc (+1/-1)
src/economy/supply_list.cc (+1/-2)
src/economy/test/CMakeLists.txt (+11/-9)
src/economy/ware_instance.cc (+1/-1)
src/economy/ware_instance.h (+1/-1)
src/economy/wares_queue.cc (+1/-1)
src/editor/editorinteractive.cc (+2/-2)
src/editor/tools/editor_history.h (+1/-1)
src/editor/tools/editor_info_tool.cc (+1/-1)
src/editor/tools/editor_set_terrain_tool.h (+1/-1)
src/editor/tools/editor_tool.h (+1/-1)
src/editor/ui_menus/categorized_item_selection_menu.h (+2/-2)
src/editor/ui_menus/editor_main_menu.cc (+1/-1)
src/editor/ui_menus/editor_main_menu_load_map.cc (+2/-2)
src/editor/ui_menus/editor_main_menu_map_options.cc (+1/-1)
src/editor/ui_menus/editor_main_menu_new_map.cc (+1/-1)
src/editor/ui_menus/editor_main_menu_random_map.cc (+1/-1)
src/editor/ui_menus/editor_main_menu_save_map.cc (+2/-2)
src/editor/ui_menus/editor_main_menu_save_map_make_directory.cc (+1/-1)
src/editor/ui_menus/editor_player_menu.cc (+2/-2)
src/editor/ui_menus/editor_player_menu_allowed_buildings_menu.cc (+1/-1)
src/editor/ui_menus/editor_tool_change_height_options_menu.cc (+1/-1)
src/editor/ui_menus/editor_tool_change_resources_options_menu.cc (+1/-1)
src/editor/ui_menus/editor_tool_menu.cc (+1/-1)
src/editor/ui_menus/editor_tool_noise_height_options_menu.cc (+1/-1)
src/editor/ui_menus/editor_tool_place_bob_options_menu.cc (+1/-1)
src/editor/ui_menus/editor_tool_place_immovable_options_menu.cc (+1/-1)
src/editor/ui_menus/editor_tool_set_terrain_options_menu.cc (+1/-1)
src/editor/ui_menus/editor_toolsize_menu.cc (+1/-1)
src/game_io/game_data_packet.h (+1/-1)
src/game_io/game_loader.cc (+1/-1)
src/game_io/game_saver.cc (+1/-1)
src/game_io/game_saver.h (+1/-1)
src/graphic/CMakeLists.txt (+100/-0)
src/graphic/align.cc (+1/-1)
src/graphic/animation.cc (+3/-3)
src/graphic/animation.h (+1/-1)
src/graphic/font_handler.cc (+2/-2)
src/graphic/font_handler.h (+1/-1)
src/graphic/font_handler1.cc (+2/-2)
src/graphic/font_handler1.h (+2/-2)
src/graphic/graphic.cc (+4/-4)
src/graphic/graphic.h (+1/-1)
src/graphic/image_cache.cc (+1/-1)
src/graphic/image_loader_impl.cc (+2/-2)
src/graphic/render/gamerenderer_gl.h (+1/-1)
src/graphic/render/gl_surface_texture.cc (+1/-1)
src/graphic/render/gl_utils.cc (+1/-1)
src/graphic/render/sdl_surface.h (+1/-1)
src/graphic/render/terrain_sdl.h (+3/-3)
src/graphic/rendertarget.cc (+1/-1)
src/graphic/rendertarget.h (+2/-2)
src/graphic/richtext.cc (+2/-2)
src/graphic/surface.h (+1/-1)
src/graphic/surface_cache.h (+2/-3)
src/graphic/text/rt_errors.h (+2/-2)
src/graphic/text/rt_parse.cc (+2/-2)
src/graphic/text/rt_parse.h (+4/-4)
src/graphic/text/rt_render.cc (+7/-7)
src/graphic/text/rt_render.h (+5/-6)
src/graphic/text_parser.cc (+2/-2)
src/graphic/text_parser.h (+1/-1)
src/graphic/texture.cc (+2/-2)
src/graphic/wordwrap.cc (+1/-1)
src/graphic/wordwrap.h (+1/-1)
src/helper.h (+1/-1)
src/io/CMakeLists.txt (+60/-0)
src/io/dedicated_log.cc (+2/-2)
src/io/dedicated_log.h (+1/-1)
src/io/fileread.cc (+1/-1)
src/io/fileread.h (+1/-1)
src/io/filesystem/disk_filesystem.cc (+2/-2)
src/io/filesystem/disk_filesystem.h (+1/-1)
src/io/filesystem/filesystem.cc (+2/-2)
src/io/filesystem/filesystem_exceptions.h (+1/-1)
src/io/filesystem/layered_filesystem.cc (+4/-8)
src/io/filesystem/layered_filesystem.h (+1/-1)
src/io/filesystem/test/CMakeLists.txt (+7/-9)
src/io/filesystem/zip_exceptions.h (+1/-1)
src/io/filesystem/zip_filesystem.cc (+1/-1)
src/io/filesystem/zip_filesystem.h (+4/-5)
src/io/filewrite.h (+1/-1)
src/io/streamread.cc (+1/-1)
src/io/streamread.h (+1/-1)
src/io/streamwrite.cc (+1/-2)
src/io/streamwrite.h (+1/-1)
src/logic/CMakeLists.txt (+188/-0)
src/logic/backtrace.cc (+1/-1)
src/logic/battle.cc (+2/-2)
src/logic/bob.cc (+4/-3)
src/logic/bob.h (+4/-4)
src/logic/buildcost.cc (+1/-1)
src/logic/building.cc (+1/-1)
src/logic/building.h (+3/-3)
src/logic/carrier.cc (+1/-1)
src/logic/carrier.h (+3/-3)
src/logic/cmd_incorporate.cc (+2/-2)
src/logic/cmd_luacoroutine.cc (+1/-1)
src/logic/cmd_luascript.cc (+1/-1)
src/logic/cmd_queue.cc (+1/-1)
src/logic/constructionsite.cc (+2/-2)
src/logic/constructionsite.h (+1/-1)
src/logic/critter_bob.cc (+1/-1)
src/logic/critter_bob.h (+1/-1)
src/logic/description_maintainer.h (+1/-1)
src/logic/dismantlesite.cc (+2/-2)
src/logic/dismantlesite.h (+1/-1)
src/logic/editor_game_base.cc (+3/-3)
src/logic/findnode.cc (+1/-1)
src/logic/game.cc (+4/-3)
src/logic/game.h (+2/-2)
src/logic/game_data_error.h (+3/-3)
src/logic/immovable.cc (+2/-2)
src/logic/immovable.h (+1/-1)
src/logic/instances.cc (+2/-2)
src/logic/instances.h (+3/-3)
src/logic/map.cc (+3/-4)
src/logic/map.h (+1/-0)
src/logic/mapastar.h (+1/-1)
src/logic/message_id.h (+1/-1)
src/logic/message_queue.h (+3/-3)
src/logic/military_data.cc (+1/-2)
src/logic/militarysite.cc (+2/-4)
src/logic/militarysite.h (+1/-1)
src/logic/notification.cc (+20/-0)
src/logic/notification.h (+3/-3)
src/logic/objective.h (+1/-1)
src/logic/pathfield.cc (+1/-1)
src/logic/player.cc (+4/-4)
src/logic/playercommand.cc (+2/-2)
src/logic/playersmanager.cc (+1/-1)
src/logic/production_program.cc (+2/-2)
src/logic/production_program.h (+1/-1)
src/logic/productionsite.cc (+2/-3)
src/logic/productionsite.h (+1/-1)
src/logic/queue_cmd_factory.cc (+1/-1)
src/logic/replay.cc (+2/-2)
src/logic/requirements.cc (+1/-1)
src/logic/ship.h (+1/-1)
src/logic/soldier.cc (+2/-2)
src/logic/soldier.h (+1/-1)
src/logic/trainingsite.cc (+1/-1)
src/logic/trainingsite.h (+1/-1)
src/logic/tribe.cc (+2/-2)
src/logic/tribe.h (+5/-17)
src/logic/ware_descr.cc (+1/-1)
src/logic/ware_descr.h (+1/-1)
src/logic/warehouse.cc (+2/-2)
src/logic/warehouse.h (+2/-2)
src/logic/warelist.cc (+1/-1)
src/logic/warelist.h (+1/-2)
src/logic/widelands.h (+1/-1)
src/logic/widelands_geometry.cc (+60/-0)
src/logic/widelands_geometry.h (+17/-32)
src/logic/worker.cc (+1/-1)
src/logic/worker.h (+1/-1)
src/logic/worker_descr.cc (+2/-2)
src/logic/worker_program.h (+1/-1)
src/logic/world/map_gen.h (+5/-5)
src/logic/world/resource_description.cc (+0/-1)
src/logic/world/world.cc (+9/-0)
src/logic/world/world.h (+1/-1)
src/main.cc (+2/-2)
src/map_generator.cc (+0/-1)
src/map_io/CMakeLists.txt (+93/-0)
src/map_io/coords_profile.cc (+1/-1)
src/map_io/map_loader.h (+1/-1)
src/map_io/one_world_legacy_lookup_table.cc (+0/-2)
src/map_io/s2map.cc (+4/-6)
src/map_io/widelands_map_data_packet.h (+0/-1)
src/map_io/widelands_map_exploration_data_packet.cc (+1/-1)
src/map_io/widelands_map_loader.cc (+2/-2)
src/map_io/widelands_map_map_object_loader.cc (+1/-1)
src/map_io/widelands_map_map_object_saver.cc (+1/-1)
src/map_io/widelands_map_object_packet.cc (+1/-1)
src/map_io/widelands_map_players_view_data_packet.cc (+3/-3)
src/map_io/widelands_map_port_spaces_data_packet.cc (+1/-1)
src/map_io/widelands_map_resources_data_packet.cc (+1/-1)
src/map_io/widelands_map_saver.cc (+2/-2)
src/map_io/widelands_map_saver.h (+1/-1)
src/map_io/widelands_map_terrain_data_packet.cc (+1/-1)
src/minizip/CMakeLists.txt (+0/-3)
src/network/CMakeLists.txt (+38/-0)
src/network/internet_gaming.cc (+3/-4)
src/network/internet_gaming_messages.cc (+1/-1)
src/network/netclient.cc (+4/-4)
src/network/nethost.cc (+2/-3)
src/network/network.cc (+3/-3)
src/network/network.h (+4/-4)
src/network/network_gaming_messages.cc (+2/-2)
src/network/network_player_settings_backend.cc (+2/-2)
src/network/network_player_settings_backend.h (+1/-1)
src/profile/CMakeLists.txt (+15/-0)
src/profile/profile.cc (+3/-3)
src/profile/profile.h (+2/-3)
src/random.cc (+1/-1)
src/save_handler.cc (+2/-2)
src/scoped_timer.cc (+1/-1)
src/scripting/CMakeLists.txt (+1/-77)
src/scripting/c_utils.h (+1/-1)
src/scripting/eris.h (+1/-1)
src/scripting/factory.h (+1/-1)
src/scripting/lua_bases.h (+1/-1)
src/scripting/lua_coroutine.h (+1/-1)
src/scripting/lua_editor.cc (+1/-1)
src/scripting/lua_editor.h (+1/-1)
src/scripting/lua_errors.h (+1/-1)
src/scripting/lua_game.cc (+1/-1)
src/scripting/lua_game.h (+1/-1)
src/scripting/lua_globals.cc (+1/-2)
src/scripting/lua_globals.h (+1/-1)
src/scripting/lua_map.cc (+1/-1)
src/scripting/lua_map.h (+1/-1)
src/scripting/lua_path.h (+0/-2)
src/scripting/lua_root.cc (+0/-1)
src/scripting/lua_root.h (+1/-1)
src/scripting/lua_table.h (+1/-1)
src/scripting/lua_ui.h (+1/-1)
src/scripting/luna.h (+2/-2)
src/scripting/luna_impl.cc (+1/-1)
src/scripting/luna_impl.h (+1/-1)
src/scripting/persistence.cc (+1/-1)
src/scripting/persistence.h (+1/-1)
src/scripting/scripting.cc (+1/-1)
src/scripting/scripting.h (+1/-1)
src/scripting/test/CMakeLists.txt (+8/-12)
src/scripting/test/test_luna.cc (+1/-1)
src/singleton.h (+0/-66)
src/sound/CMakeLists.txt (+23/-0)
src/sound/songset.cc (+1/-1)
src/sound/sound_handler.cc (+3/-2)
src/third_party/CMakeLists.txt (+76/-0)
src/third_party/README (+2/-0)
src/third_party/minizip/README.txt (+2/-5)
src/third_party/minizip/unzip.cc (+0/-7)
src/ui_basic/CMakeLists.txt (+62/-0)
src/ui_basic/box.cc (+1/-1)
src/ui_basic/button.cc (+1/-1)
src/ui_basic/editbox.h (+1/-1)
src/ui_basic/helpwindow.cc (+2/-3)
src/ui_basic/helpwindow.h (+1/-1)
src/ui_basic/icongrid.cc (+1/-1)
src/ui_basic/listselect.cc (+1/-1)
src/ui_basic/listselect.h (+1/-1)
src/ui_basic/messagebox.cc (+1/-2)
src/ui_basic/messagebox.h (+1/-1)
src/ui_basic/multilineeditbox.cc (+0/-1)
src/ui_basic/multilinetextarea.h (+2/-2)
src/ui_basic/panel.cc (+2/-1)
src/ui_basic/progresswindow.cc (+1/-1)
src/ui_basic/progresswindow.h (+1/-1)
src/ui_basic/scrollbar.h (+1/-1)
src/ui_basic/spinbox.cc (+2/-2)
src/ui_basic/spinbox.h (+1/-1)
src/ui_basic/table.h (+4/-4)
src/ui_basic/textarea.h (+1/-1)
src/ui_basic/window.cc (+1/-2)
src/ui_fsmenu/base.cc (+2/-2)
src/ui_fsmenu/campaign_select.cc (+2/-2)
src/ui_fsmenu/editor.cc (+1/-1)
src/ui_fsmenu/editor_mapselect.cc (+3/-4)
src/ui_fsmenu/fileview.cc (+1/-1)
src/ui_fsmenu/internet_lobby.cc (+2/-2)
src/ui_fsmenu/intro.cc (+1/-1)
src/ui_fsmenu/launchMPG.cc (+2/-3)
src/ui_fsmenu/launchSPG.cc (+2/-2)
src/ui_fsmenu/loadgame.cc (+4/-4)
src/ui_fsmenu/loadreplay.cc (+2/-2)
src/ui_fsmenu/main.cc (+1/-1)
src/ui_fsmenu/mapselect.cc (+4/-4)
src/ui_fsmenu/multiplayer.cc (+1/-1)
src/ui_fsmenu/netsetup_lan.cc (+1/-2)
src/ui_fsmenu/options.cc (+1/-2)
src/ui_fsmenu/singleplayer.cc (+1/-1)
src/wlapplication.cc (+5/-5)
src/wlapplication.h (+1/-1)
src/wui/CMakeLists.txt (+123/-0)
src/wui/building_statistics_menu.cc (+1/-1)
src/wui/buildingwindow.cc (+1/-1)
src/wui/chatoverlay.cc (+1/-1)
src/wui/debugconsole.cc (+11/-9)
src/wui/encyclopedia_window.cc (+1/-1)
src/wui/fieldaction.cc (+1/-1)
src/wui/game_chat_menu.cc (+1/-1)
src/wui/game_debug_ui.cc (+1/-1)
src/wui/game_main_menu.cc (+1/-1)
src/wui/game_main_menu_save_game.cc (+1/-2)
src/wui/game_main_menu_save_game.h (+1/-1)
src/wui/game_message_menu.h (+1/-1)
src/wui/game_options_menu.cc (+1/-1)
src/wui/game_options_sound_menu.cc (+1/-1)
src/wui/game_tips.cc (+1/-1)
src/wui/general_statistics_menu.cc (+1/-1)
src/wui/interactive_base.cc (+5/-2)
src/wui/interactive_base.h (+3/-3)
src/wui/interactive_player.cc (+2/-3)
src/wui/interactive_spectator.cc (+1/-1)
src/wui/login_box.cc (+1/-1)
src/wui/mapviewpixelfunctions.cc (+1/-1)
src/wui/minimap.cc (+1/-1)
src/wui/multiplayersetupgroup.cc (+3/-3)
src/wui/multiplayersetupgroup.h (+1/-0)
src/wui/playerdescrgroup.cc (+2/-2)
src/wui/plot_area.cc (+1/-2)
src/wui/plot_area.h (+3/-3)
src/wui/productionsitewindow.cc (+0/-2)
src/wui/stock_menu.cc (+1/-1)
src/wui/unique_window_handler.cc (+1/-1)
src/wui/ware_statistics_menu.cc (+1/-1)
src/wui/waresdisplay.cc (+2/-2)
src/wui/watchwindow.cc (+1/-1)
txts/locales (+0/-54)
utils/build_deps.py (+219/-0)
utils/win32/msvc/Widelands-msvc.iss.cmake (+0/-163)
utils/win32/msvc/widelands.rc.cmake (+0/-53)
utils/win32/widelands.rc.cmake (+53/-0)
Changed in widelands: | |
status: | Confirmed → In Progress |
assignee: | nobody → SirVer (sirver) |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in r6973.