From 4cc7deaa4c53e273158869c6dcdb866bdec56501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 31 Jan 2022 17:52:22 +0100 Subject: [PATCH] doc: updated credits and changelog. --- doc/changelog.dox | 11 +++++++++++ doc/credits.dox | 3 ++- src/Magnum/Platform/Sdl2Application.cpp | 1 + src/Magnum/Platform/Sdl2Application.h | 1 + 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/changelog.dox b/doc/changelog.dox index b8dec0562..662b87059 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -397,6 +397,14 @@ See also: - Added @ref Platform::EmscriptenApplication::Configuration::addWindowFlags() and @ref Platform::EmscriptenApplication::Configuration::clearWindowFlags() for consistency with other application implementations +- Added @ref Platform::Sdl2Application::KeyEvent::Key::CapsLock, + @relativeref{Platform::Sdl2Application::KeyEvent::Key,ScrollLock}, + @relativeref{Platform::Sdl2Application::KeyEvent::Key,NumLock}, + @relativeref{Platform::Sdl2Application::KeyEvent::Key,PrintScreen}, + @relativeref{Platform::Sdl2Application::KeyEvent::Key,Pause} and + @relativeref{Platform::Sdl2Application::KeyEvent::Key,Menu} for consistency + with @ref Platform::EmscriptenApplication and + @ref Platform::GlfwApplication (see [mosra/magnum#547](https://github.com/mosra/magnum/pull/547)) @subsubsection changelog-latest-changes-scenegraph SceneGraph library @@ -583,6 +591,9 @@ See also: destroyed could fail with an error saying "cannot make the previous context current" on certain system. This was due to EGL not destroying the context if it's still made current. +- Fixed handling of @ref Sdl2Application::InputEvent::Modifier::Super, which + was misreported as @relativeref{Sdl2Application::InputEvent::Modifier,Alt} + (see [mosra/magnum#547](https://github.com/mosra/magnum/pull/547)) - For meshes with multiple sets of vertex attributes (such as texture coordinates), @ref MeshTools::compile() should be using only the first set but it wasn't. diff --git a/doc/credits.dox b/doc/credits.dox index 9d6995b6c..5a83fd77d 100644 --- a/doc/credits.dox +++ b/doc/credits.dox @@ -192,7 +192,8 @@ Are the below lists missing your name or something's wrong? Gentoo ebuild) - **Pablo Escobar** ([\@pezcode](https://github.com/pezcode)) --- @ref Math additions, support for multiple @ref Platform::EmscriptenApplication - canvases on one page, Emscripten-focused fixes + canvases on one page, Emscripten-focused fixes; + @ref Platform::Sdl2Application additions - **Pascal Thomet** ([\@pthom](https://github.com/pthom)) --- C++17 compilation fixes, buildsystem improvements, Hunter package - **Sam Spilsbury** ([\@smspillaz](https://github.com/smspillaz)) --- WebGL diff --git a/src/Magnum/Platform/Sdl2Application.cpp b/src/Magnum/Platform/Sdl2Application.cpp index 1eed9ffd4..6e3f9b144 100644 --- a/src/Magnum/Platform/Sdl2Application.cpp +++ b/src/Magnum/Platform/Sdl2Application.cpp @@ -4,6 +4,7 @@ Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Vladimír Vondruš Copyright © 2019 Marco Melorio + Copyright © 2022 Pablo Escobar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/src/Magnum/Platform/Sdl2Application.h b/src/Magnum/Platform/Sdl2Application.h index 516c55b04..495b358f6 100644 --- a/src/Magnum/Platform/Sdl2Application.h +++ b/src/Magnum/Platform/Sdl2Application.h @@ -6,6 +6,7 @@ Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Vladimír Vondruš Copyright © 2019 Marco Melorio + Copyright © 2022 Pablo Escobar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),