Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
reckter committed Dec 30, 2024
1 parent 907e66f commit eb562cc
Show file tree
Hide file tree
Showing 90 changed files with 1,858 additions and 1,590 deletions.
160 changes: 80 additions & 80 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,201 +9,201 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### New Features

* Support for Renardo (Foxdot fork)
* web: Sandbox web languages using iframes
* web: Toggle line numbers with <kbd>Shift</kbd>-<kbd>Ctrl</kbd>-<kbd>W</kbd>
- Support for Renardo (Foxdot fork)
- web: Sandbox web languages using iframes
- web: Toggle line numbers with <kbd>Shift</kbd>-<kbd>Ctrl</kbd>-<kbd>W</kbd>
and linewrap with <kbd>Shift</kbd>-<kbd>Ctrl</kbd>-<kbd>W</kbd>.
* web(strudel): Code highlighting
- web(strudel): Code highlighting

### Bugfixes

* repl: Use `sardine` instead of `fishery` when running Sardine REPL
* web(hydra): Use correct canvas size by default + pixelated image rendering
* web(strudel): Misc fixse
* Lots of name clashing between hydra, strudel and mercury-web were solved with
- repl: Use `sardine` instead of `fishery` when running Sardine REPL
- web(hydra): Use correct canvas size by default + pixelated image rendering
- web(strudel): Misc fixse
- Lots of name clashing between hydra, strudel and mercury-web were solved with
language sandboxes.

## [1.1.1] - 2024-01-29

### Bugfixes

* web(strudel): Use REPL evaluate method, this fixes the "`setcps` is not defined" error.
- web(strudel): Use REPL evaluate method, this fixes the "`setcps` is not defined" error.

## [1.1.0] - 2024-01-28

### Bugfixes

* web(hydra): Fixed issues with P5 not loading properly
* web(hydra): `await` now works properly
* web: Fixed issue with `flok-web` binary script running in development mode
- web(hydra): Fixed issues with P5 not loading properly
- web(hydra): `await` now works properly
- web: Fixed issue with `flok-web` binary script running in development mode

### New Features

* web: Share URL command for sharing session URL along with current layout and
- web: Share URL command for sharing session URL along with current layout and
code.
* web: `hideErrors` query parameter option for hiding errors of web targets
* web: `code` and `c0`..`c7` hash parameters to set code for each editor
- web: `hideErrors` query parameter option for hiding errors of web targets
- web: `code` and `c0`..`c7` hash parameters to set code for each editor

### Changed

* web(hydra): Updated P5 to 1.9.0
* web(mercury): Updated Mercury to 0.14.0
* web(strudel): Updated Strudel to 1.0.0
* web: Updated Codemirror and related packages
* web: Updated Yjs and related packages
* web: Updated Vite 5
* web: Moved `username` and `targets` query parameters as hash parameters
- web(hydra): Updated P5 to 1.9.0
- web(mercury): Updated Mercury to 0.14.0
- web(strudel): Updated Strudel to 1.0.0
- web: Updated Codemirror and related packages
- web: Updated Yjs and related packages
- web: Updated Vite 5
- web: Moved `username` and `targets` query parameters as hash parameters

## [1.0.2] - 2024-01-13

### Changed

* repl: Fix error when trying to use flok-repl without `-T`/`--types` argument (default value)
- repl: Fix error when trying to use flok-repl without `-T`/`--types` argument (default value)

## [1.0.1] - 2024-01-13

### Changed

* web: Fixed and optimized flok-web package, by removing lots of runtime deps
- web: Fixed and optimized flok-web package, by removing lots of runtime deps
that were used on build time only.
* web: Removed pinned flok-repl version from REPL instructions.
- web: Removed pinned flok-repl version from REPL instructions.

## [1.0.0] - 2024-01-12

Complete rewrite of Flok, with a new architecture and new features. See
Complete rewrite of Flok, with a new architecture and new features. See
[README.md](../README.md) for more information.

* Started new web project, based on Vite, Tailwind, Radix UI and Shadcn CSS frameworks.
* Upgraded CodeMirror to version 6
* Upgraded Yjs to latest version
* New modular architecture, with separate plugins related to codemirror
- Started new web project, based on Vite, Tailwind, Radix UI and Shadcn CSS frameworks.
- Upgraded CodeMirror to version 6
- Upgraded Yjs to latest version
- New modular architecture, with separate plugins related to codemirror
(following their new architecture as well)
* Document layout is now part of the session state, and can be changed
- Document layout is now part of the session state, and can be changed
dynamically, instead of being based on the query parameter `?layout`.
* Improved REPL message handling and UI
* Command palette for executing commands and configuring the editor
* Added support for Strudel and Mercury as web targets
- Improved REPL message handling and UI
- Command palette for executing commands and configuring the editor
- Added support for Strudel and Mercury as web targets

## [0.4.12] - 2024-01-06

### Added

* web: Toggle comment with Ctrl-/ or Cmd-/
* web(sardine): Free all sound for Sardine
- web: Toggle comment with Ctrl-/ or Cmd-/
- web(sardine): Free all sound for Sardine

### Changed

* repl(sardine): Changed interpreter name (fishery -> sardine)
* web: Bugfixes related to the server script (flok-web)
* web: Fixed @types/react wrong version
- repl(sardine): Changed interpreter name (fishery -> sardine)
- web: Bugfixes related to the server script (flok-web)
- web: Fixed @types/react wrong version

## [0.4.8] - 2022-05-26

### Added

* web: Add key binding Ctrl+Shift+H to hide or show editors
- web: Add key binding Ctrl+Shift+H to hide or show editors

### Changed

* web: Replace yjsdemo WebSocket Yjs server for an embedded WS server
* web: Use a random english name + first 8 chars of uuid as default session name
* web: Upgrade p5 to version 1.4.1
* web: Upgrade hydra-synth to version 1.3.16
* web: Upgrade Next to version 12
* web: Restore package bundle
- web: Replace yjsdemo WebSocket Yjs server for an embedded WS server
- web: Use a random english name + first 8 chars of uuid as default session name
- web: Upgrade p5 to version 1.4.1
- web: Upgrade hydra-synth to version 1.3.16
- web: Upgrade Next to version 12
- web: Restore package bundle

## [0.4.6] - 2021-10-31

### Added

* web: Print possible network IPs when starting web server locally
* web: New --static-dir option for setting a custom static files directory when
- web: Print possible network IPs when starting web server locally
- web: New --static-dir option for setting a custom static files directory when
starting web server.

### Changed

* web: Upgrade hydra-synth to 1.3.8
* web: Upgrade next to 11
* repl: Remove "tidal> " from stdout on tidal target; other minor improvements
- web: Upgrade hydra-synth to 1.3.8
- web: Upgrade next to 11
- repl: Remove "tidal> " from stdout on tidal target; other minor improvements

## [0.4.5] - 2021-01-05

### Added

* web: Read-only mode by adding a `readonly=1` query parameter to a session URL
* repl: In `foxdot` REPL, call `load_startup_file()` after loading Foxdot package.
- web: Read-only mode by adding a `readonly=1` query parameter to a session URL
- repl: In `foxdot` REPL, call `load_startup_file()` after loading Foxdot package.

### Changed

* web: Upgrade hydra-synth to 1.3.6
- web: Upgrade hydra-synth to 1.3.6

## [0.4.4] - 2020-12-23

### Added

* web: Follow remote cursors when moving (jump to line), but only if editor is
- web: Follow remote cursors when moving (jump to line), but only if editor is
blurred.
* web: Make remote caret visible to current user too.
* web: Properly support block evaluation with parens for
- web: Make remote caret visible to current user too.
- web: Properly support block evaluation with parens for
`sclang`/`remote_sclang` targets.

### Changed

* web: Skip 'hydra' as a flok-repl example when joining a session
* repl: Bugfix when using custom REPL command
* repl: On sclang targets, add semicolons after closing parens
- web: Skip 'hydra' as a flok-repl example when joining a session
- repl: Bugfix when using custom REPL command
- repl: On sclang targets, add semicolons after closing parens

## [0.4.3] - 2020-12-04

### Added

* repl, web: Support for Mercury
* web: When joining session, show flok-repl example based on first target in
- repl, web: Support for Mercury
- web: When joining session, show flok-repl example based on first target in
layout.
* web: New shortcut for evaluating web-target (e.g. Hydra) code only on local
- web: New shortcut for evaluating web-target (e.g. Hydra) code only on local
client (Ctrl-Alt-Enter for block execution, Shift-Alt-Enter for line
execution).

### Changed

* web: Upgrade to Hydra 1.3.4
- web: Upgrade to Hydra 1.3.4

## [0.4.2] - 2020-11-12

### Changed

* web: Better styles for selected text and remote caret
* repl: Fix path to embedded BootTidal.hs when using fallback
- web: Better styles for selected text and remote caret
- repl: Fix path to embedded BootTidal.hs when using fallback

## [0.4.1] - 2020-10-11

### Added

* web: Copy button for copying flok-repl example when joining session
* repl: Add package metadata and data dir, which includes a Tidal bootScript
- web: Copy button for copying flok-repl example when joining session
- repl: Add package metadata and data dir, which includes a Tidal bootScript
file.

### Changed

* web: Disable form when creating session, while session page loads
* repl: If ghc-pkg fails to get tidal data dir, fallback to embedded bootScript
- web: Disable form when creating session, while session page loads
- repl: If ghc-pkg fails to get tidal data dir, fallback to embedded bootScript
file.

## [0.4.0] - 2020-10-06

### Added

* repl: Add `--nickname/-N` to send REPL messages (out/err) to named user instead
- repl: Add `--nickname/-N` to send REPL messages (out/err) to named user instead
of all connected users.
* repl: Add `--notify-to-all` to force send messages to all users (old behaviour).
* repl: Add extra option `ghci` for `tidal` REPL type, for customizing ghci
- repl: Add `--notify-to-all` to force send messages to all users (old behaviour).
- repl: Add extra option `ghci` for `tidal` REPL type, for customizing ghci
binary path.
* web: Show current Flok version when joining session.
* web: Include -N option on flok-repl example when joining session.
- web: Show current Flok version when joining session.
- web: Include -N option on flok-repl example when joining session.

### Changed

* Now, by default, `flok-repl` *will not* send messages to all users by default.
- Now, by default, `flok-repl` _will not_ send messages to all users by default.
You need to enable the `--notify-to-all` option if you want the old
behaviour. If `--nickname/-N` and `--notify-to-all` are not present,
flok-repl won't send any messages, only print them on standard output/error.
Expand All @@ -212,11 +212,11 @@ Complete rewrite of Flok, with a new architecture and new features. See

### Added

* repl: Add new `--config` option for customizing parameters from a JSON file
* repl: Load config file from `FLOK_CONFIG` environment file, if defined. Also,
load *.env files* automatically.
- repl: Add new `--config` option for customizing parameters from a JSON file
- repl: Load config file from `FLOK_CONFIG` environment file, if defined. Also,
load _.env files_ automatically.

### Changed

* web: Bugfix: host prop was undefined on first page load, failing to connect
- web: Bugfix: host prop was undefined on first page load, failing to connect
afterwards.
22 changes: 11 additions & 11 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ orientation.
Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities
Expand Down
Loading

0 comments on commit eb562cc

Please sign in to comment.