Skip to content

Commit

Permalink
update site regarding 0.0.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jun 20, 2023
1 parent 659b538 commit 2b4358f
Show file tree
Hide file tree
Showing 10 changed files with 98 additions and 22 deletions.
9 changes: 7 additions & 2 deletions docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
url: https://raphamorim.io/rio
url: https://raphamorim.io
baseurl: /rio

name: Rio Terminal
description: A modern terminal for the 21th century. Rio is built over WebGPU, WebAssembly and Rust. The WebGPU API makes it suitable for general purpose graphics and compute on the GPU.
Expand All @@ -24,7 +25,6 @@ paginate: 5
detach: false
port: 4000
host: 127.0.0.1
baseurl: "" # does not include hostname
show_dir_listing: false

maruku:
Expand All @@ -34,6 +34,11 @@ maruku:
png_dir: images/latex
png_url: /images/latex

collections:
my_collection:
output: true
permalink: /:collection/:name/

rdiscount:
extensions: []

Expand Down
5 changes: 3 additions & 2 deletions docs/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="https://raphamorim.io/rio/assets/logo.ico">
<link rel="icon" type="image/x-icon" href="/rio/assets/logo.ico">
<title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.name }}</title>

<link rel="stylesheet" href="https://raphamorim.io/rio/assets/styles.css">
<link rel="stylesheet" href="/rio/assets/styles.css">
<link rel="stylesheet" href="/rio/assets/styles-code.css">

<!-- Meta OG tags -->
<meta property="og:image"
Expand Down
4 changes: 2 additions & 2 deletions docs/_includes/nav.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="nav">
<div id="nav-logo">
<a href="/rio"><img width="80" height="80" src="https://raphamorim.io/rio/assets/logo-small.png"></a>
<a href="/rio/"><img width="80" height="80" src="https://raphamorim.io/rio/assets/logo-small.png"></a>
</div>
<div id="links">
<ul>
Expand All @@ -12,6 +12,6 @@
</ul>
</div>
<div id="external-links">
<a target="_blank" href="https://github.com/raphamorim/rio"><img src="https://raphamorim.io/rio/assets/github-mark-white.png"></a>
<a target="_blank" href="https://github.com/raphamorim/rio"><img src="/rio/assets/github-mark-white.png"></a>
</div>
</div>
7 changes: 6 additions & 1 deletion docs/_layouts/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
<br/>
{% for post in paginator.posts %}
{% unless post.draft %}
<p><a href="/rio{{ post.url | relative_url }}">{{ post.title }}</a></p>
<div class="post-content">
<h2>{{ post.title }}</h2>
<p>{{ post.description }}</p>
<p><a href="{{ post.url | relative_url }}">Read post</a></p>
<br/>
</div>
{% endunless %}
{% endfor %}
</div>
Expand Down
2 changes: 0 additions & 2 deletions docs/_layouts/docs.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{% include header.html %}
{% include nav.html %}

<link rel="stylesheet" href="https://raphamorim.io/rio/assets/styles-code.css">

<section class="highlight">
<div class="container content">
{{ content }}
Expand Down
1 change: 1 addition & 0 deletions docs/_posts/2023-05-31-release-0.0.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: post
title: "Release 0.0.5"
date: 2023-05-31 10:34:14 +0200
categories: macos linux release
description: "Arrival to Linux, themes support and many bug fixes."
---

# Arrival to Linux, Themes support and many bug fixes.
Expand Down
1 change: 1 addition & 0 deletions docs/_posts/2023-06-07-release-0.0.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: post
title: "Release 0.0.6"
date: 2023-06-07 10:34:14 +0200
categories: macos linux release
description: "Tabs support, underline and beam cursor, text styles and many bug fixes."
---

# Tabs support, underline and beam cursor, text styles and many bug fixes.
Expand Down
87 changes: 76 additions & 11 deletions docs/_posts/2023-07-07-release-0.0.7.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,111 @@
---
layout: post
title: "Rio 0.0.7"
date: 2023-07-07 12:34:14 +0200
categories: release macos linux windows
draft: true
date: 2023-06-20 12:34:14 +0200d
description: "Configuration reload, x11 and wayland stabilization, sugarloaf ported to WebAssembly, addition to NIX OS packages and other updates."
categories: release macos linux webassembly
---

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

# v0.0.7: Highlights

- Support to custom fonts
- Configuration reload
- x11 and wayland stabilization
- Sugarloaf ported to WebAssembly
- Addition to NIX OS packages
- Addition to NIX OS packages (kudos to [@otavio](https://github.com/otavio), PR: [NixOS/nixpkgs/pull/237664](https://github.com/NixOS/nixpkgs/pull/237664))
- Styles properties have been moved to root level

<br/>

# Overview

Rio release 0.0.7 is finally here, there's a lot of updates to cover so let's get started. I also would like to remind you that Rio is still unstable. This release adds a lot of bug fixes and feature additions in order to make Rio terminal stable.

## Breaking change: Styles properties have been moved to root level

The only breaking change of v0.0.7 is that styles properties such as "font", "theme" and "font-size" moved to the root level.

Before:

{% highlight toml %}
cursor = '|'
[style]
font-size = 18
theme = "lucario"
{% endhighlight %}

After:

{% highlight toml %}
cursor = '|'
theme = "lucario"
font-size = 18
{% endhighlight %}


## Reload automatically when the configuration file has changed.

Any file update in the configuration file will trigger a render operation in Rio terminal with the new configuration.

If you have any suggestion of configuration ideas to Rio, please feel free to [open an issue](https://github.com/raphamorim/rio/issues/new).

![Demo reload config](https://raphamorim.io/rio/assets/posts/0.0.7/config-reload.gif)
![Demo reload config](/rio/assets/posts/0.0.7/config-reload.gif)

## width and height is not longer available in the configuration file.

The property witdh and height doesn't work anymore after the 0.0.7 release.

## a
Before you could set the initial width and height of the screen, this configuration is not longer possible. It was removed due to compatibility with different targets.

<blockquote class="twitter-tweet" data-lang="en" data-dnt="true"><p lang="en" dir="ltr">stabilization of custom font rendering for upcoming version of Rio terminal<a href="https://t.co/5EuJJzPsB2">https://t.co/5EuJJzPsB2</a> <a href="https://twitter.com/hashtag/rust?src=hash&amp;ref_src=twsrc%5Etfw">#rust</a> <a href="https://t.co/HLTLG8Yovz">pic.twitter.com/HLTLG8Yovz</a></p>&mdash; Raphael Amorim 🦀 (@raphamorims) <a href="https://twitter.com/raphamorims/status/1670808836213547009?ref_src=twsrc%5Etfw">June 19, 2023</a></blockquote>
## Stabilization of Linux x11 and Wayland

In older versions of Rio terminal it was possible to actually use Rio but it was slow and buggy for many users. Many fixes has been done in the v0.0.7 to bring the experience of Linux users close to what MacOS have right now.

## a
The tweet below have a video demo that shows Rio running with X11:

<blockquote class="twitter-tweet" data-lang="en" data-dnt="true" data-theme="light"><p lang="en" dir="ltr">sneak peek at Rio terminal for Linux X11 builds in the next version (0.0.7) <a href="https://t.co/5EuJJzPsB2">https://t.co/5EuJJzPsB2</a> <a href="https://twitter.com/hashtag/rustlang?src=hash&amp;ref_src=twsrc%5Etfw">#rustlang</a> <a href="https://t.co/JeWmPju9FT">pic.twitter.com/JeWmPju9FT</a></p>&mdash; Raphael Amorim 🦀 (@raphamorims) <a href="https://twitter.com/raphamorims/status/1670404595246419968?ref_src=twsrc%5Etfw">June 18, 2023</a></blockquote>

## Sugarloaf ported to WebAssembly

![Demo wasm sugarloaf](../assets/posts/0.0.7/wasm-sugarloaf.gif)
## Custom font rendering

Now you can actually use different installed fonts by changing the property "font".

The example below considers that you have "Fira code" font installed in your machine.

{% highlight toml %}
font = "Fira code"
{% endhighlight %}

A quick look of how font updates looks like in v0.0.7:

<blockquote class="twitter-tweet" data-lang="en" data-dnt="true"><p lang="en" dir="ltr">stabilization of custom font rendering for upcoming version of Rio terminal<a href="https://t.co/5EuJJzPsB2">https://t.co/5EuJJzPsB2</a> <a href="https://twitter.com/hashtag/rust?src=hash&amp;ref_src=twsrc%5Etfw">#rust</a> <a href="https://t.co/HLTLG8Yovz">pic.twitter.com/HLTLG8Yovz</a></p>&mdash; Raphael Amorim 🦀 (@raphamorims) <a href="https://twitter.com/raphamorims/status/1670808836213547009?ref_src=twsrc%5Etfw">June 19, 2023</a></blockquote>

## Sugarloaf ported to WebAssembly

## Changelog
The Rio support to WASM has moved one step ahead by introduction of Sugarloaf (Rio renderer) to WebAssembly.

In the image below you can see it in action:

![Demo wasm sugarloaf](/rio/assets/posts/0.0.7/wasm-sugarloaf.gif)

## Changelog of v0.0.7

- Breaking changes for configuration file regarding "Style" property.
- Fix Background color not entirely set on vim [#88](https://github.com/raphamorim/rio/issues/88)
- Scroll now works for x11 and wayland.
- No longer renders to macos and x11 windows that are fully occluded / not directly visible.
- Introduced "window-opacity" config property for WebAssembly and Wayland builds.
- Add permissions instructions to Rio macos builds (Fix [#99](https://github.com/raphamorim/rio/issues/99)).
- Fixes for x11 and wayland rendering (Related: [#98](https://github.com/raphamorim/rio/issues/98) and [#100](https://github.com/raphamorim/rio/issues/100)).
- Perfomance fixes (Related: [#101](https://github.com/raphamorim/rio/issues/101)).
- Sugarloaf WebAssembly support.
- Fixed resize for all contexts: removed the glitch when resizing and switching between tabs.
- Fixed cursor incosistencies [#95](https://github.com/raphamorim/rio/issues/95).
- Added command line interface support ("--help", "--version", "-e" and "--command").
- Added a fallback for WPGU request device operation: downlevel limits, which will allow the code to run on all possible hardware.
- Added "padding-x" to configuration.
- Reload automatically when the configuration file is changed ([#69](https://github.com/raphamorim/rio/issues/69)).
- Fix "Ctrl+D" and "exit" command not closing the app ([#87](https://github.com/raphamorim/rio/issues/87)).
- Changed default "light-black" color.
2 changes: 1 addition & 1 deletion docs/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
layout: blog
title: Blog
language: 'en'
description: ""
description: "List of articles about Rio terminal releases"
---
2 changes: 1 addition & 1 deletion docs/install/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ language: 'en'

You can download Rio terminal application for macOS platform, although is not stable and lacking features since the development of a beta release version is still in process.

- [Download macOS - canary-2316d6de8782f6eaa94121c508c7798b303ca415 (unstable)](https://github.com/raphamorim/rio/releases/download/canary-2316d6de8782f6eaa94121c508c7798b303ca415/macos-rio.zip)
- [Download macOS - v0.0.7 (unstable)](https://github.com/raphamorim/rio/releases/download/v0.0.7/macos-rio.zip)

New versions are created by weekly and monthly basis, so if you are using an unstable version please make sure to keep updated.

Expand Down

0 comments on commit 2b4358f

Please sign in to comment.