Skip to content
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
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.25.0)

project(TreelandProtocols VERSION 0.6.0 LANGUAGES NONE)
project(TreelandProtocols VERSION 0.7.0 LANGUAGES NONE)

# https://gitlab.kitware.com/cmake/cmake/-/work_items/23461
# Suppress GNUInstallDirs warning for LANGUAGES NONE projects
Expand Down
6 changes: 6 additions & 0 deletions dde/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ For DDE desktop components. Installed via `TREELAND_PROTOCOL_DDE_XML_FILES`.

Breaking changes are grouped by version. Under each version heading, one subsection per affected protocol explains what changed, what replaces it, and how existing consumers should adapt.

### 0.7.0

#### `treeland-appearance-manager-unstable-v1.xml`

The `set_accent_color` request dropped its `a` (alpha) argument. The accent color is now an opaque RGB triple `r, g, b` (each `uint` in `[0, 255]`); the alpha channel is no longer carried on the wire. Consumers must stop sending the trailing `a` argument and must not interpret accent color opacity from this request; opacity is outside the scope of the accent color setting.

### 0.6.0

#### `treeland-output-manager-v1.xml`
Expand Down
6 changes: 6 additions & 0 deletions dde/README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@

破坏性变更按版本分组。每个版本标题下,每个受影响协议有一个子节说明变更内容、替代方案以及现有消费者如何适配。

### 0.7.0

#### `treeland-appearance-manager-unstable-v1.xml`

`set_accent_color` 请求移除了 `a`(alpha)参数。活动色现为不透明 RGB 三元组 `r, g, b`(每个为 `[0, 255]` 范围内的 `uint`);alpha 通道不再上线缆传输。消费者须停止发送末尾的 `a` 参数,且不得从该请求推断活动色不透明度;不透明度不在活动色设置范围内。

### 0.6.0

#### `treeland-output-manager-v1.xml`
Expand Down
1 change: 0 additions & 1 deletion dde/treeland-appearance-manager-unstable-v1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@
<arg name="r" type="uint" summary="accent color red component [0, 255]" />
<arg name="g" type="uint" summary="accent color green component [0, 255]" />
<arg name="b" type="uint" summary="accent color blue component [0, 255]" />
<arg name="a" type="uint" summary="accent color alpha component [0, 255]" />
</request>

<request name="set_window_opacity">
Expand Down
4 changes: 4 additions & 0 deletions public/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Breaking changes are grouped by version. Under each version heading, one subsect

### 0.7.0

#### `treeland-appearance-unstable-v1.xml`

The `accent_color` event dropped its `a` (alpha) argument. The accent color is now reported as an opaque RGB triple `r, g, b` (each `uint` in `[0, 255]`); the alpha channel is no longer carried on the wire. Consumers must stop reading the trailing `a` argument and must not derive accent color opacity from this event; opacity is outside the scope of the accent color setting.

#### `treeland-dde-shell-v1.xml`

The manager request `set_xwindow_position_relative` is now documented as deprecated and non-functional: it has no effect and no callback is ever created. The file itself stays in place for now; the whole `treeland-dde-shell` protocol is slated for removal in a future release.
Expand Down
4 changes: 4 additions & 0 deletions public/README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@

### 0.7.0

#### `treeland-appearance-unstable-v1.xml`

`accent_color` 事件移除了 `a`(alpha)参数。活动色现以不透明 RGB 三元组 `r, g, b` 上报(每个为 `[0, 255]` 范围内的 `uint`);alpha 通道不再上线缆传输。消费者须停止读取末尾的 `a` 参数,且不得从该事件推断活动色不透明度;不透明度不在活动色设置范围内。

#### `treeland-dde-shell-v1.xml`

管理器的 `set_xwindow_position_relative` 请求现标注为已废弃且不可用:请求无任何效果,也不会创建任何回调。文件暂保留原位;整个 `treeland-dde-shell` 协议计划在未来版本彻底移除。
Expand Down
1 change: 0 additions & 1 deletion public/treeland-appearance-unstable-v1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@
<arg name="r" type="uint" summary="current accent color red component [0, 255]" />
<arg name="g" type="uint" summary="current accent color green component [0, 255]" />
<arg name="b" type="uint" summary="current accent color blue component [0, 255]" />
<arg name="a" type="uint" summary="current accent color alpha component [0, 255]" />
</event>

<event name="window_opacity">
Expand Down
Loading