Skip to content

Commit

Permalink
[Draft] Docs migration (#241)
Browse files Browse the repository at this point in the history
* Initial commit

* Added Windows images to blog post 0.0.8
  • Loading branch information
Brianalmeida committed Sep 20, 2023
1 parent 3de9e15 commit 39d27a6
Show file tree
Hide file tree
Showing 95 changed files with 7,162 additions and 4,294 deletions.
12 changes: 0 additions & 12 deletions new-docs/blog/2019-05-28-first-blog-post.md

This file was deleted.

44 changes: 0 additions & 44 deletions new-docs/blog/2019-05-29-long-blog-post.md

This file was deleted.

20 changes: 0 additions & 20 deletions new-docs/blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

Binary file not shown.
25 changes: 0 additions & 25 deletions new-docs/blog/2021-08-26-welcome/index.md

This file was deleted.

55 changes: 55 additions & 0 deletions new-docs/blog/2023-05-31-release-0.0.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
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.

Rio release 0.0.5 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.

## New configuration path

Configuration path has changed from "{$HOME}/.rio/" to "{$HOME}/.config/rio".

Changes were applied for macOS and Linux.

## Linux Support

Rio is now available to Linux, build information was added in the [install](/rio/install) page.

![Linux support](https://raphamorim.io/rio/assets/posts/0.0.5/linux.jpeg)

Linux builds are considered less stable than macOs, due to macOs features availability comparison.

## Themes Support

A new property was added to Rio configuration file called "theme". You can set the theme that you want to use and Rio will look in the folder "themes" in the configuration path.

![Themes support](https://raphamorim.io/rio/assets/posts/0.0.5/themes.png)

Dracula theme example:

![Example dracula](https://raphamorim.io/rio/assets/posts/0.0.5/dracula-nvim.png)

## Bold and italic style

Support to text styling as such "bold" and "italic".

![Themes support](https://raphamorim.io/rio/assets/posts/0.0.5/font-macos.png)

## Changelog

- Fix to render specific 24bit colors [#66](https://github.com/raphamorim/rio/issues/#66) by [@niuez](https://github.com/niuez).
- Cross build for arm64 and x86
- Bold and Italic support [#33](https://github.com/raphamorim/rio/issues/#33).
- Add RioEvent::ColorRequest events to write color updates on pty.
- Theme support [#42](https://github.com/raphamorim/rio/issues/42).
- Fix font-size dependency for serialization
- Fix cursor visibility on VI mode and scroll [#51](https://github.com/raphamorim/#51)
- Performance fixes for rendering from teletypewriter updates.
- Fix scale issues for 1.0 scale factor or using monitor with different scale factor. [#50](https://github.com/raphamorim/rio/issues/
-#50)
- Improved release process to only contain Rio.app file. [#54](https://github.com/raphamorim/rio/issues/#54)
53 changes: 53 additions & 0 deletions new-docs/blog/2023-06-07-release-0.0.6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
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.

Rio release 0.0.6 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.

## Underline and strikethrough style

Support to text styling as such "Underline" and "Strikethrough".


## Tabs support

Tabs has been added to Rio terminal for macos and linux platform.

The shortcuts:

- Create tab: Logo key (Command in macos) + T.
- Close tab: Logo key (Command in macos) + W.
- Switch tab: Control key + Tab key.

Below you can see an example of usage:

<blockquote class="twitter-tweet" data-lang="en" data-dnt="true" data-theme="dark"><p lang="en" dir="ltr">Tabs 🦀⏳🌈<br/><br/>(In the future Rio will provide an external API for rendering widgets in the terminal, so people can write their own implementation of tabs or even things like telescope for terminal GUI level)<a href="https://twitter.com/hashtag/Rust?src=hash&amp;ref_src=twsrc%5Etfw">#Rust</a> <a href="https://t.co/ZnilDIEpP5">https://t.co/ZnilDIEpP5</a> <a href="https://t.co/NCYF4j8rt2">pic.twitter.com/NCYF4j8rt2</a></p>&mdash; Raphael Amorim 🦀 (@raphamorims) <a href="https://twitter.com/raphamorims/status/1664585160958922755?ref_src=twsrc%5Etfw">June 2, 2023</a></blockquote>

Note: There's a limit of maximum of 6 tabs for now.

## Support to Beam and Underline cursors

Beam and underline cursor support has been added to Rio terminal. Also, block cursor and IME state allow a character to be visible.

<blockquote class="twitter-tweet" data-lang="en" data-dnt="true" data-theme="dark"><p lang="en" dir="ltr">Rio terminal updates: <br/><br/>- Support to Beam and Underline cursors <a href="https://t.co/UJwhFeZnTy">https://t.co/UJwhFeZnTy</a> by <a href="https://twitter.com/xiuez?ref_src=twsrc%5Etfw">@xiuez</a> ⭐️<br/>- Now block cursor and IME state allow a character to be visible. <a href="https://twitter.com/hashtag/Rust?src=hash&amp;ref_src=twsrc%5Etfw">#Rust</a> <a href="https://t.co/5EuJJzPsB2">https://t.co/5EuJJzPsB2</a> <a href="https://t.co/NxoxP69utJ">pic.twitter.com/NxoxP69utJ</a></p>&mdash; Raphael Amorim 🦀 (@raphamorims) <a href="https://twitter.com/raphamorims/status/1664146499398139906?ref_src=twsrc%5Etfw">June 1, 2023</a></blockquote>

## Changelog

- Fix: support to clipboard in linux by [@joseemds](https://github.com/joseemds).
- Font style for custom fonts by [@OlshaMB](https://github.com/OlshaMB) (closed [#80](https://github.com/raphamorim/rio/issues/80) and [#81](https://github.com/raphamorim/rio/issues/81))
- Text styles Underline and Strikethrough (closed [#79](https://github.com/raphamorim/rio/issues/79)).
- Update default colors for tabs/tabs-active.
- Tabs support.
- Fix rendering tab and hidden chars by replacing to space by [@niuez](https://github.com/niuez), (closed [#56](https://github.com/raphamorim/rio/issues/56)).
- Block cursor hover a character and still allow it to be visible.
- Support to caret Beam and Underline cursor [#67](https://github.com/raphamorim/rio/issues/67) by [@niuez](https://github.com/niuez).
- Fix panics if custom font is not found [#68](https://github.com/raphamorim/rio/issues/68).
- MacOs ignore alt key in cntrlseq (same behavior as Terminal.app, Hyper, iTerm and etecetera).

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
109 changes: 109 additions & 0 deletions new-docs/blog/2023-07-07-release-0.0.7.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
layout: post
title: "Rio 0.0.7"
date: 2023-07-07 12:34
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 (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).


## 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.

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.

## 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.

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>


## 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

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:


## 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)).
- Performance 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.
Loading

0 comments on commit 39d27a6

Please sign in to comment.