Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.19.0 #3686

Merged
merged 6 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

set(MIR_VERSION_MAJOR 2)
set(MIR_VERSION_MINOR 18)
set(MIR_VERSION_PATCH 3)
set(MIR_VERSION_MINOR 19)
set(MIR_VERSION_PATCH 2)

add_compile_definitions(MIR_VERSION_MAJOR=${MIR_VERSION_MAJOR})
add_compile_definitions(MIR_VERSION_MINOR=${MIR_VERSION_MINOR})
Expand Down
62 changes: 62 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,65 @@
mir (2.19.2) UNRELEASED; urgency=medium

* New upstream release 2.19.2

- Enhancements
. Fix changelog

-- Alan Griffiths <[email protected]> Tue, 3 Dec 2024 11:48:10 +0000

mir (2.19.1) UNRELEASED; urgency=medium

* New upstream release 2.19.1

- ABI summary:
. mirserver ABI bumped to 62

-- Alan Griffiths <[email protected]> Tue, 3 Dec 2024 10:35:06 +0000

mir (2.19.0) UNRELEASED; urgency=medium

* New upstream release 2.19.0

- ABI summary:
. miral ABI unchanged at 7
. mircommon ABI unchanged at 10
. mircore ABI unchanged at 2
. miroil ABI unchanged at 5
. mirplatform ABI bumped to 30
. mirserver ABI bumped to 61
. mirwayland ABI unchanged at 5
. mirplatformgraphics ABI unchanged at 22
. mirinputplatform ABI unchanged at 9
- Enhancements:
. [x11-kiosk] defer fullscreening of applications until they are placed
once (#3670)
. [x11-kiosk] Ensure windows are placed and repainted on X11 "CONFIGURE"
(#3619)
. [x11-kiosk] change enable-x11 default to true
. Initial atomic-kms platform
. [Wayland] Add support for xdg_activation_v1 (#3639)
. Do not default window size (especially to weird values) (#3623)
. DesktopFileManager::resolve_app_id no longer returns an app id with a
.desktop file suffix (Fixes #3608)
. [Configuration] Split options into global and per-module configuration
(#3590)
- Bugs fixed:
. Ensure we always send an initial output enter (#3680)
. Fix stuck-frame-after-mode-switch bug (#3673)
. Fix rendering of resized XWayland applications with client side
decorations (#3587)
. Aspect ratios shouldn't contain zero (Fixes: #3663)
. Use PkgConfig to find development headers (#3661)
. Fix the inotify event handling in
ReloadingYamlFileDisplayConfig::auto_reload() (#3636)
. The `miral::ConfigFile` "Watcher" can be destroyed before the main loop
(Fixes: #3612)
. [xwayland] Don't allow clients to place X11 windows (#3622)
. Surfaces track scale changes on outputs they appear on. (Fixes: #3552)
. New attached windows need to be placed (#3676)

-- Alan Griffiths <[email protected]> Wed, 27 Nov 2024 17:18:22 +0000

mir (2.18.3) UNRELEASED; urgency=medium

* Hotfix release 2.18.3
Expand Down
6 changes: 3 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Vcs-Git: https://github.com/MirServer/mir

#TODO: Packaging infrastructure for better dependency generation,
# ala pkg-xorg's xviddriver:Provides and ABI detection.
Package: libmirserver61
Package: libmirserver62
Section: libs
Architecture: linux-any
Multi-Arch: same
Expand Down Expand Up @@ -158,7 +158,7 @@ Section: libdevel
Architecture: linux-any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: libmirserver61 (= ${binary:Version}),
Depends: libmirserver62 (= ${binary:Version}),
libmirplatform-dev (= ${binary:Version}),
libmircommon-dev (= ${binary:Version}),
libglm-dev,
Expand All @@ -175,7 +175,7 @@ Section: libdevel
Architecture: linux-any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: libmirserver61 (= ${binary:Version}),
Depends: libmirserver62 (= ${binary:Version}),
libmirplatform-dev (= ${binary:Version}),
libmircommon-dev (= ${binary:Version}),
libmircore-dev (= ${binary:Version}),
Expand Down
1 change: 0 additions & 1 deletion debian/libmirserver61.install

This file was deleted.

1 change: 1 addition & 0 deletions debian/libmirserver62.install
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib/*/libmirserver.so.62
15 changes: 12 additions & 3 deletions examples/example-server-lib/tiling_window_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -586,11 +586,20 @@ void TilingWindowManagerPolicy::update_surfaces(ApplicationInfo& info, Rectangle
void TilingWindowManagerPolicy::clip_to_tile(miral::WindowSpecification& parameters, Rectangle const& tile)
{
auto const displacement = parameters.top_left().value() - tile.top_left;
auto const width_available = tile.size.width.as_int()-displacement.dx.as_int();
auto const height_available = tile.size.height.as_int()-displacement.dy.as_int();

auto width = std::min(tile.size.width.as_int()-displacement.dx.as_int(), parameters.size().value().width.as_int());
auto height = std::min(tile.size.height.as_int()-displacement.dy.as_int(), parameters.size().value().height.as_int());
if (parameters.size())
{
auto width = std::min(width_available, parameters.size().value().width.as_int());
auto height = std::min(height_available, parameters.size().value().height.as_int());

parameters.size() = Size{width, height};
parameters.size() = Size{width, height};
}
else
{
parameters.size() = Size{width_available, height_available};
}
}

void TilingWindowManagerPolicy::resize(Window window, Point cursor, Point old_cursor, Rectangle bounds)
Expand Down
2 changes: 1 addition & 1 deletion src/server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ install(DIRECTORY
${CMAKE_SOURCE_DIR}/src/include/server/mir DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/mirserver-internal"
)

set(MIRSERVER_ABI 61) # Be sure to increment MIR_VERSION_MINOR at the same time
set(MIRSERVER_ABI 62) # Be sure to increment MIR_VERSION_MINOR at the same time
set(symbol_map ${CMAKE_CURRENT_SOURCE_DIR}/symbols.map)

set_target_properties(
Expand Down
Loading