[Commits] [wesnoth/wesnoth] 941e98: gui2/tgame_paths: Rename to tgame_version

GitHub noreply at github.com
Tue Jul 14 23:52:47 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 941e983d616ea6c919556fa82f49c896433a8d03
      https://github.com/wesnoth/wesnoth/commit/941e983d616ea6c919556fa82f49c896433a8d03
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-13 (Mon, 13 Jul 2015)

  Changed paths:
    R data/gui/default/window/game_paths.cfg
    A data/gui/default/window/game_version.cfg
    M projectfiles/CodeBlocks/wesnoth.cbp
    M src/CMakeLists.txt
    M src/SConscript
    M src/game_preferences_display.cpp
    R src/gui/dialogs/game_paths.cpp
    R src/gui/dialogs/game_paths.hpp
    A src/gui/dialogs/game_version.cpp
    A src/gui/dialogs/game_version.hpp
    M src/tests/gui/test_gui2.cpp

  Log Message:
  -----------
  gui2/tgame_paths: Rename to tgame_version

This is in preparation for repurposing it into a more full-fledged game
version/build info dialog.


  Commit: 51c026dc91c23f1a8765a55f991b73d737e70925
      https://github.com/wesnoth/wesnoth/commit/51c026dc91c23f1a8765a55f991b73d737e70925
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-13 (Mon, 13 Jul 2015)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    M src/CMakeLists.txt
    M src/SConscript
    A src/desktop/version.cpp
    A src/desktop/version.hpp

  Log Message:
  -----------
  desktop: Add function to obtain OS version string

Highly unreliable and generally useless, see the Doxygen documentation.
Also missing the actual Windows implementation for the moment. Also,
since uname() is highly useless on most platforms, I'll need to think up
a better OS X implementation later down the road.


  Commit: 43dd063425a01ca6434d4a35e9715b8a9f2e4796
      https://github.com/wesnoth/wesnoth/commit/43dd063425a01ca6434d4a35e9715b8a9f2e4796
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M data/gui/default/window/game_version.cfg
    M src/gui/dialogs/game_version.cpp
    M src/gui/dialogs/game_version.hpp

  Log Message:
  -----------
  gui2/tgame_version: Turned into a tabbed dialog, added plenty more info

The dialog now includes the game and OS version, and has three tabs with
extra information: the Game Paths tab with the existing contents
inherited from the tgame_paths dialog, the Libraries tab with a table
listing the build/runtime library versions, and the Features tab listing
the status of optional build-time features.

Had to move a lot of code around for this, obviously. Now I have to
decide again where to move the button from Preferences -> General.


  Commit: f608d4f46a7b24151b5bb1931082dcd9e8e65de4
      https://github.com/wesnoth/wesnoth/commit/f608d4f46a7b24151b5bb1931082dcd9e8e65de4
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M src/desktop/version.cpp

  Log Message:
  -----------
  desktop: Add an actual os_version() implementation for Windows


  Commit: 948a3ae19a807cd60852cd5567813f338cf0d32f
      https://github.com/wesnoth/wesnoth/commit/948a3ae19a807cd60852cd5567813f338cf0d32f
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M data/gui/default/window/game_version.cfg
    M src/gui/dialogs/game_version.cpp
    M src/gui/dialogs/game_version.hpp

  Log Message:
  -----------
  gui2/tgame_version: Add plain text report and a button to save it to clipboard

Most of it is not translatable. This is intentional as it is intended to
serve as a Technical Support/bug tracker post aid.


  Commit: 3d140c8727e9bcf43da2b0f7198dd4844aed7e13
      https://github.com/wesnoth/wesnoth/commit/3d140c8727e9bcf43da2b0f7198dd4844aed7e13
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M src/desktop/windows_console.cpp
    M src/desktop/windows_console.hpp

  Log Message:
  -----------
  desktop: Add function to get the Win32 console manager status


  Commit: f2b86823b50bb5c2f5d6de23ef47171b862daa09
      https://github.com/wesnoth/wesnoth/commit/f2b86823b50bb5c2f5d6de23ef47171b862daa09
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M data/gui/default/window/game_version.cfg
    M src/gui/dialogs/game_version.cpp
    M src/gui/dialogs/game_version.hpp

  Log Message:
  -----------
  gui2/tgame_version: Add option to open stderr.txt on Windows

This is only displayed on Windows and it is disabled there if Wesnoth
was started with the --wconsole option.


  Commit: 6a5adc30b72c36371ddff926ff096fb07a33d3fd
      https://github.com/wesnoth/wesnoth/commit/6a5adc30b72c36371ddff926ff096fb07a33d3fd
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M data/gui/default/widget/button_25x25.cfg
    M data/gui/default/window/title_screen.cfg
    M src/gui/dialogs/title_screen.cpp

  Log Message:
  -----------
  gui2/ttitle_screen: Add button to display the About dialog

It's on the bottom left corner, just like the version number. It's not
possible to have both the version number label and the button on the
same layer because only widgets on the topmost stacked_widget layer
receive events, and the label can't be on there because it messes up the
layout of the button panels row.

This currently causes the game to abort on 800x480 because the layout
algorithm runs out of space (needs 800x487) due to to the top row on the
dialog's main grid taking up a fixed amount of vertical space. This will
be corrected in a separate commit.


  Commit: b548d6946bec95b2b31f16ac56e7274881cfc8e0
      https://github.com/wesnoth/wesnoth/commit/b548d6946bec95b2b31f16ac56e7274881cfc8e0
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M src/game_preferences_display.cpp

  Log Message:
  -----------
  preferences: Remove Paths button, superseded by titlescreen version button


  Commit: d7583f8bb1932b84820d3ed9950cf8f5cdbb712f
      https://github.com/wesnoth/wesnoth/commit/d7583f8bb1932b84820d3ed9950cf8f5cdbb712f
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M data/gui/default/window/title_screen.cfg

  Log Message:
  -----------
  gui2/ttitle_screen: Reorganize grid slightly

This frees up some space for the central stacked widget so the game
doesn't crash to desktop due to requiring a vertical resolution of 487
or more to fit it with the version label and button.

Also, the layout of the version label and button is now simpler as they
are now on their own grid outside the central stacked widget. This also
happens to ensure that the label doesn't end up behind the tip of the
day panel. Whether this is a good thing or not depends on personal
opinion.

(And incidentally, the button no longer has a margin around it. This is
intentional.)


  Commit: aa924e7a5f8c64044592f68f68afd918308e0cd9
      https://github.com/wesnoth/wesnoth/commit/aa924e7a5f8c64044592f68f68afd918308e0cd9
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M packaging/windows/wesnoth.rc

  Log Message:
  -----------
  Remove DISCARDABLE icon attribute from the Win32 resources table

<https://msdn.microsoft.com/en-us/library/windows/desktop/aa380908%28v=vs.85%29.aspx>


  Commit: e119f4071f047c6d740ebec4636985fdf39349bc
      https://github.com/wesnoth/wesnoth/commit/e119f4071f047c6d740ebec4636985fdf39349bc
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    A packaging/windows/wesnoth.exe.manifest
    M packaging/windows/wesnoth.rc

  Log Message:
  -----------
  Add manifest declaring compatibility with Windows 8.1 and 10

This is needed so GetVersionEx doesn't lie to us on these versions.

MSVC++ people: I have no idea how this will interact with your building
procedure, if at all. In particular, I believe MSVC++ is supposed to
produce its own manifest declaring our dependencies on the MSVC++
runtime libraries, and it may or may not emit the compatibility
information as well.


  Commit: ce1e0b2502b23dd99c7707e786a0fc808f57a44f
      https://github.com/wesnoth/wesnoth/commit/ce1e0b2502b23dd99c7707e786a0fc808f57a44f
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M src/desktop/version.cpp

  Log Message:
  -----------
  desktop: Assume GetVersionEx is not lying


  Commit: ec74ea24a45a2f1d8a47a447d360daab63fcb808
      https://github.com/wesnoth/wesnoth/commit/ec74ea24a45a2f1d8a47a447d360daab63fcb808
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-07-14 (Tue, 14 Jul 2015)

  Changed paths:
    M data/gui/default/widget/button_25x25.cfg
    R data/gui/default/window/game_paths.cfg
    A data/gui/default/window/game_version.cfg
    M data/gui/default/window/title_screen.cfg
    A packaging/windows/wesnoth.exe.manifest
    M packaging/windows/wesnoth.rc
    M projectfiles/CodeBlocks/wesnoth.cbp
    M src/CMakeLists.txt
    M src/SConscript
    A src/desktop/version.cpp
    A src/desktop/version.hpp
    M src/desktop/windows_console.cpp
    M src/desktop/windows_console.hpp
    M src/game_preferences_display.cpp
    R src/gui/dialogs/game_paths.cpp
    R src/gui/dialogs/game_paths.hpp
    A src/gui/dialogs/game_version.cpp
    A src/gui/dialogs/game_version.hpp
    M src/gui/dialogs/title_screen.cpp
    M src/tests/gui/test_gui2.cpp

  Log Message:
  -----------
  Merge branch 'feature/gui2-game-version-dialog'


Compare: https://github.com/wesnoth/wesnoth/compare/55662b99601e...ec74ea24a45a


More information about the Commits mailing list