sodium issueshttps://gitlab.redox-os.org/redox-os/sodium/-/issues2018-06-13T19:39:51Zhttps://gitlab.redox-os.org/redox-os/sodium/-/issues/70Sodium unresponsive in Redox (QEMU in OSX)2018-06-13T19:39:51ZJeremy SollerSodium unresponsive in Redox (QEMU in OSX)*Created by: kenan-rhoton*
Upon launching Sodium within Redox running in QEMU on my OSX Machine, the editor is launched but is unresponsive to any action except mouse click, upon which it imediately exits with:
`C'ya`
And no other...*Created by: kenan-rhoton*
Upon launching Sodium within Redox running in QEMU on my OSX Machine, the editor is launched but is unresponsive to any action except mouse click, upon which it imediately exits with:
`C'ya`
And no other output. Amy I doing something wrong? Did I forget to configure something?https://gitlab.redox-os.org/redox-os/sodium/-/issues/65`o` command sometimes inconsitent2018-06-13T19:39:51ZJeremy Soller`o` command sometimes inconsitent*Created by: LordPython*
The `o` command is sometimes inconsistent about where the new line gets created: sometimes it behaves as expected, creating a new line and entering insert mode at the beginning of the new line, but sometimes it ...*Created by: LordPython*
The `o` command is sometimes inconsistent about where the new line gets created: sometimes it behaves as expected, creating a new line and entering insert mode at the beginning of the new line, but sometimes it instead creates a new line *before* the current line and enters insert mode at the beginning of the current line (instead of the newly created line).
I'm not completely sure what I did to get this to happen, but here's an example of how it's behaving:
![example](https://cloud.githubusercontent.com/assets/2464249/23935054/0b83b40a-0920-11e7-980f-585c7cb76780.gif)
https://gitlab.redox-os.org/redox-os/sodium/-/issues/22Proper CLI2023-03-07T22:44:00ZJeremy SollerProper CLI*Created by: ticki*
Read from stdin, command line options, file argument etc.
*Created by: ticki*
Read from stdin, command line options, file argument etc.
https://gitlab.redox-os.org/redox-os/sodium/-/issues/52Add word navigation -- [numeral] WORDs backward2022-05-08T02:33:31ZJeremy SollerAdd word navigation -- [numeral] WORDs backward*Created by: ducks*
**Reproduction**: enter insert mode. enter "this is some text". use space+shift to reenter normal mode.
use 'B'.
**Expected behavior**: cursor moves to the previous WORD.
**Actual behavior**: b and B are used for c...*Created by: ducks*
**Reproduction**: enter insert mode. enter "this is some text". use space+shift to reenter normal mode.
use 'B'.
**Expected behavior**: cursor moves to the previous WORD.
**Actual behavior**: b and B are used for cursor management.
@ticki, do you have any thoughts on which keys to use here since b and B are already used?
https://gitlab.redox-os.org/redox-os/sodium/-/issues/20Better documentation (expand inline docs and manual)2018-06-13T19:39:51ZJeremy SollerBetter documentation (expand inline docs and manual)*Created by: ticki*
*Created by: ticki*
https://gitlab.redox-os.org/redox-os/sodium/-/issues/37Sort out the panics.2018-06-13T19:39:51ZJeremy SollerSort out the panics.*Created by: ticki*
Sodium currently is quite prone to panics. If you encounter a panic, add it here.
*Created by: ticki*
Sodium currently is quite prone to panics. If you encounter a panic, add it here.
https://gitlab.redox-os.org/redox-os/sodium/-/issues/23Concurrency2018-06-13T19:39:51ZJeremy SollerConcurrency*Created by: ticki*
Multiple thread managing different components.
*Created by: ticki*
Multiple thread managing different components.
https://gitlab.redox-os.org/redox-os/sodium/-/issues/32Fuzzy searcher2018-06-13T19:39:51ZJeremy SollerFuzzy searcher*Created by: ticki*
*Created by: ticki*
https://gitlab.redox-os.org/redox-os/sodium/-/issues/18Non-monospace symbols2018-06-13T19:39:51ZJeremy SollerNon-monospace symbols*Created by: ticki*
`tab` is only one space long, it should be 4 or 8 spaces instead.
*Created by: ticki*
`tab` is only one space long, it should be 4 or 8 spaces instead.
https://gitlab.redox-os.org/redox-os/sodium/-/issues/28Vim-style macros2018-06-13T19:39:51ZJeremy SollerVim-style macros*Created by: ticki*
Recording and replaying.
*Created by: ticki*
Recording and replaying.
https://gitlab.redox-os.org/redox-os/sodium/-/issues/19Command completion in prompt mode2018-06-13T19:39:51ZJeremy SollerCommand completion in prompt mode*Created by: ticki*
*Created by: ticki*
https://gitlab.redox-os.org/redox-os/sodium/-/issues/30ANSI (terminal) renderer2018-06-13T19:39:51ZJeremy SollerANSI (terminal) renderer*Created by: ticki*
*Created by: ticki*
https://gitlab.redox-os.org/redox-os/sodium/-/issues/17Search2018-06-13T19:39:51ZJeremy SollerSearch*Created by: ticki*
*Created by: ticki*
https://gitlab.redox-os.org/redox-os/sodium/-/issues/31Make command an enum.2018-06-13T19:39:51ZJeremy SollerMake command an enum.*Created by: ticki*
To increase code seperation etc.
*Created by: ticki*
To increase code seperation etc.
https://gitlab.redox-os.org/redox-os/sodium/-/issues/16Lookup tables for commands2018-06-13T19:39:51ZJeremy SollerLookup tables for commands*Created by: ticki*
*Created by: ticki*
https://gitlab.redox-os.org/redox-os/sodium/-/issues/27Autoclose delimters2018-06-13T19:39:51ZJeremy SollerAutoclose delimters*Created by: ticki*
lexima.vim style autoclosing.
*Created by: ticki*
lexima.vim style autoclosing.
https://gitlab.redox-os.org/redox-os/sodium/-/issues/11Tests2018-06-13T19:39:51ZJeremy SollerTests*Created by: ticki*
*Created by: ticki*
refactoring and cleanuphttps://gitlab.redox-os.org/redox-os/sodium/-/issues/26Allow switching between buffer data structures on runtime.2018-06-13T19:39:51ZJeremy SollerAllow switching between buffer data structures on runtime.*Created by: ticki*
*Created by: ticki*
https://gitlab.redox-os.org/redox-os/sodium/-/issues/14Visual mode2018-06-13T19:39:51ZJeremy SollerVisual mode*Created by: ticki*
*Created by: ticki*
https://gitlab.redox-os.org/redox-os/sodium/-/issues/10Persistent config options2018-06-13T19:39:51ZJeremy SollerPersistent config options*Created by: ticki*
*Created by: ticki*
https://gitlab.redox-os.org/redox-os/sodium/-/issues/12Organize the modules into directories2018-06-13T19:39:51ZJeremy SollerOrganize the modules into directories*Created by: ticki*
*Created by: ticki*
refactoring and cleanuphttps://gitlab.redox-os.org/redox-os/sodium/-/issues/8Partial redraws2018-06-13T19:39:51ZJeremy SollerPartial redraws*Created by: ticki*
Make use of the `RedrawTask`s in the renderer.
*Created by: ticki*
Make use of the `RedrawTask`s in the renderer.
https://gitlab.redox-os.org/redox-os/sodium/-/issues/9Extensions and plugins2018-06-13T19:39:51ZJeremy SollerExtensions and plugins*Created by: ticki*
*Created by: ticki*
plugins and extensionshttps://gitlab.redox-os.org/redox-os/sodium/-/issues/6Undo2018-06-13T19:39:51ZJeremy SollerUndo*Created by: ticki*
Let the `Buffer` maintain a history, which is just a list of different changes. Then have a `apply()` and `track()` function to apply and add history to the `Buffer`.
*Created by: ticki*
Let the `Buffer` maintain a history, which is just a list of different changes. Then have a `apply()` and `track()` function to apply and add history to the `Buffer`.
https://gitlab.redox-os.org/redox-os/sodium/-/issues/7Proper highlighting2018-06-13T19:39:51ZJeremy SollerProper highlighting*Created by: ticki*
*Created by: ticki*
refactoring and cleanuphttps://gitlab.redox-os.org/redox-os/sodium/-/issues/5Stack clipboards2018-06-13T19:39:51ZJeremy SollerStack clipboards*Created by: ticki*
Pop/push <-> Paste/clip
*Created by: ticki*
Pop/push <-> Paste/clip
https://gitlab.redox-os.org/redox-os/sodium/-/issues/83Panics when saving a new file without specifying a filename2023-02-21T16:20:49ZStéphane CampinasPanics when saving a new file without specifying a filenameIn prompt, if you try to save without passing a file name and there is not yet a file associated to the buffer's content, it panics.
Steps:
- with 88f55176c150db384e6b7c79553ee4b5e90dad8d and `rustc 1.32.0-nightly (9fefb6766 2018-11-13)...In prompt, if you try to save without passing a file name and there is not yet a file associated to the buffer's content, it panics.
Steps:
- with 88f55176c150db384e6b7c79553ee4b5e90dad8d and `rustc 1.32.0-nightly (9fefb6766 2018-11-13)`
- `cargo run --features orbital`
- enter `insert` mode and write some text
- enter `prompt` and execute `w`
```
Starting Sodium
First redraw of the screen
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /rustc/9fefb67669f00c25b476e7a80c9c9300a987d517/src/libcore/slice/mod.rs:2447:10
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::_print
at libstd/sys_common/backtrace.rs:71
2: std::panicking::default_hook::{{closure}}
at libstd/sys_common/backtrace.rs:59
at libstd/panicking.rs:211
3: std::panicking::default_hook
at libstd/panicking.rs:227
4: std::panicking::rust_panic_with_hook
at libstd/panicking.rs:476
5: std::panicking::continue_panic_fmt
at libstd/panicking.rs:390
6: rust_begin_unwind
at libstd/panicking.rs:325
7: core::panicking::panic_fmt
at libcore/panicking.rs:77
8: core::panicking::panic_bounds_check
at libcore/panicking.rs:59
9: <usize as core::slice::SliceIndex<[T]>>::index
at /rustc/9fefb67669f00c25b476e7a80c9c9300a987d517/src/libcore/slice/mod.rs:2447
10: core::slice::<impl core::ops::index::Index<I> for [T]>::index
at /rustc/9fefb67669f00c25b476e7a80c9c9300a987d517/src/libcore/slice/mod.rs:2315
11: <alloc::vec::Vec<T> as core::ops::index::Index<I>>::index
at /rustc/9fefb67669f00c25b476e7a80c9c9300a987d517/src/liballoc/vec.rs:1653
12: sodium::io::file::<impl sodium::state::editor::Editor>::write
at src/io/file.rs:43
13: sodium::core::prompt::<impl sodium::state::editor::Editor>::invoke
at src/core/prompt.rs:144
14: sodium::core::exec::<impl sodium::state::editor::Editor>::exec
at src/core/exec.rs:279
15: sodium::state::editor::Editor::init
at src/state/editor.rs:321
16: sodium::main
at src/main.rs:24
17: std::rt::lang_start::{{closure}}
at /rustc/9fefb67669f00c25b476e7a80c9c9300a987d517/src/libstd/rt.rs:74
18: std::panicking::try::do_call
at libstd/rt.rs:59
at libstd/panicking.rs:310
19: __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:102
20: std::rt::lang_start_internal
at libstd/panicking.rs:289
at libstd/panic.rs:398
at libstd/rt.rs:58
21: std::rt::lang_start
at /rustc/9fefb67669f00c25b476e7a80c9c9300a987d517/src/libstd/rt.rs:74
22: main
23: __libc_start_main
24: _start
```https://gitlab.redox-os.org/redox-os/sodium/-/issues/84Sodium reads input from mouse instead of keyboard.2019-12-10T01:57:16ZSamwiseFilmoremggmugginsmc@gmail.comSodium reads input from mouse instead of keyboard.*Created by: pi-pi3 (Moved from https://gitlab.redox-os.org/redox-os/redox/issues/920)*
**Reproduction**: Type the following in vt.
```
sudo pkg install sodium
/ui/bin/sodium
```
Then try to type anything in sodium and try moving the mo...*Created by: pi-pi3 (Moved from https://gitlab.redox-os.org/redox-os/redox/issues/920)*
**Reproduction**: Type the following in vt.
```
sudo pkg install sodium
/ui/bin/sodium
```
Then try to type anything in sodium and try moving the mouse around.
**Expected behavior**: Sodium works and reads input from keyboard.
**Actual behavior**: Sodium seems to be reading input from the mouse. It doesn't react to keyboard input whatsoever, but when I move my mouse, it says stuff like `unknown command <some weird unicode character>` (picture bellow). The character that is actually shown switches when I move my mouse and from what I can tell it reads it from absolute mouse position, not the relative mouse movement.
**Build information**:
```
rustc -V: rustc 1.18.0-nightly (28a742997 2017-04-13)
git rev-parse HEAD: 69bc31f7addb64378aea1302523609017503b7b1
qemu-system-x86_64 --version: QEMU emulator version 2.8.0
uname -a: Linux Kerberos 4.8.12-3-ARCH #1 SMP PREEMPT Thu Dec 8 16:10:23 CET 2016 x86_64 GNU/Linux
```
**Misc**:
Keyboard: AmazonBasics KU-0833
Mouse: Mad Catz R.A.T. 3
In the image below I "pressed" the `i` key by finding some specific location with my mouse and therefore entered insert mode.
![redox-sodium](https://cloud.githubusercontent.com/assets/24700626/25066613/7c072b02-222b-11e7-80dc-2656e355e45a.png)https://gitlab.redox-os.org/redox-os/sodium/-/issues/85Sodium didn't close window when usin `q` command in prompt mode2020-06-23T07:08:18ZJacobo Da RivaSodium didn't close window when usin `q` command in prompt modeRunning Redox on qemu under Debian 10.
Sodium installed with pkg.
I open the application, create a file and try to exit without saving. If I use the close button in the window it works fine, but if I go to prompt mode and type command `...Running Redox on qemu under Debian 10.
Sodium installed with pkg.
I open the application, create a file and try to exit without saving. If I use the close button in the window it works fine, but if I go to prompt mode and type command `q`, the window stay opened forever and I can't close it even clicking in the close button. I need to power down the emulator.
![error-sodium](/uploads/7d28dc4b4bd2744cee1ac209e7d5e48a/error-sodium.png)