Skip to content

Feedback #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 55 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
57a60a3
Setting up GitHub Classroom Feedback
github-classroom[bot] Nov 9, 2022
758e660
Updated README.md, Initialized Cargo project
tudny Nov 9, 2022
1837cc9
Updated README.md.
tudny Nov 12, 2022
0639825
Rational numbers module (#2)
tudny Nov 15, 2022
b855ab2
matrices initial commit (#3)
mgr0dzicki Nov 15, 2022
7d0f094
Delete latex.rs
tudny Nov 15, 2022
be586fd
Added GH Actions
tudny Nov 15, 2022
28f151a
Quick syntax fix
tudny Nov 15, 2022
f21417c
Quick code fixes needed to merge GH Actions workflows
tudny Nov 15, 2022
c76a753
Merge pull request #4 from mimuw-jnp2-rust/actions
tudny Nov 16, 2022
a976ef6
Matrix operations (#6)
tudny Dec 1, 2022
7ff93af
updated README.md
tudny Dec 1, 2022
6c1b2b4
Update README.md
tudny Dec 2, 2022
ab08242
Expression parsing (#10)
mgr0dzicki Dec 20, 2022
7f3d5d4
Add "matrix to the power" operation (#13)
mgr0dzicki Dec 21, 2022
d056ecb
Feedback 1 changes (#15)
tudny Jan 2, 2023
531be6f
Update README.md
tudny Jan 12, 2023
1303325
GUI (#11)
tudny Jan 24, 2023
9b21b11
Updated README.md
tudny Jan 24, 2023
4b522e1
Update README.md
tudny Jan 24, 2023
6eb6f49
Syntax improvements (#19)
mgr0dzicki Jan 24, 2023
659b80f
added easter egg (#21)
tudny Jan 25, 2023
e985f6c
egui-toast version boost (#22)
tudny Jan 25, 2023
031b595
added icon (#23)
tudny Jan 25, 2023
308fd05
easter eggs hidden under `easter-eggs` feature (#24)
tudny Jan 25, 2023
da746ab
Add inverse (#20)
mgr0dzicki Jan 25, 2023
1ac7c02
$$$$$$$ (#25)
mgr0dzicki Jan 26, 2023
0404619
Fix for issue #16 (#26)
tudny Jan 28, 2023
8229b71
moved clock to features as it may slow down the program on slower mac…
tudny Jan 28, 2023
279b7e0
ziuuuuum (#30)
mgr0dzicki Jan 28, 2023
59ed6e1
Usage documentation (#27)
tudny Jan 28, 2023
7c2b6d6
better dimensions test fields alignment (#34)
tudny Jan 28, 2023
e676350
A pa na to (#31)
mgr0dzicki Jan 28, 2023
c85fe8e
more descriptive error messages
mgr0dzicki Jan 29, 2023
8a2780b
Allow changing language via GUI (#36)
tudny Jan 30, 2023
5cd6888
Publishing binaries in a release (#37)
tudny Jan 31, 2023
e961e9e
removed dead code (#40)
tudny Jan 31, 2023
cb2250f
Update README.md
tudny Feb 1, 2023
4dddf30
changed `Clipboard` to `arboard::Clipboard` (#42)
tudny Feb 22, 2023
c1cea89
including assets in release (#44)
tudny Feb 22, 2023
261f07d
Removing Python part 1
tudny Mar 25, 2023
daaae77
Removing Python part 2
tudny Mar 25, 2023
c345453
Updated assets package name to match upcoming Bazel update
tudny Apr 13, 2023
fce2bfc
Updated deps version (#51)
tudny Apr 14, 2023
dc6e770
Fixed Fourier spelling (#50)
tudny Apr 14, 2023
7b2597a
Add matrix transposition (#49)
tudny Apr 14, 2023
0752bc3
Bump enumflags2 from 0.7.6 to 0.7.7 (#54)
dependabot[bot] Apr 29, 2023
420e23a
Boosted egui-taost to 0.7.0 (#55)
tudny Apr 29, 2023
7a25186
Add rust-cache (#58)
mgr0dzicki Apr 30, 2023
0975c2d
Enable doc-tests (#56)
tudny Apr 30, 2023
e10ee08
Add functions to parser (#57)
mgr0dzicki Apr 30, 2023
99ed2fe
Updated .gitignore by adding /.fleet
tudny Jun 23, 2023
7f641f4
Bump xml-rs from 0.8.4 to 0.8.14 (#59)
dependabot[bot] Sep 18, 2023
99b77b5
Added `approximate` number field (#61)
tudny Sep 18, 2023
aabc919
Cargo update (#60)
tudny Apr 10, 2024
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
58 changes: 58 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Release

on:
release:
types: [ published ]

env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always

jobs:
upload-binary:
permissions: write-all
name: ${{ matrix.target }}
strategy:
matrix:
include:
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-unknown-linux-gnu
- target: x86_64-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true

- if: ${{ !matrix.os }}
name: Install system dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev fontconfig libfontconfig-dev libfreetype6-dev libfontconfig1-dev pkgconf
version: 1.0

- name: Upload binary
uses: taiki-e/upload-rust-binary-action@v1
with:
bin: jp2gmd
target: ${{ matrix.target }}
ref: refs/tags/${{ github.ref_name }}
tar: all
zip: windows
include: assets
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1
CARGO_PROFILE_RELEASE_LTO: true
44 changes: 44 additions & 0 deletions .github/workflows/rust-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Rust Code Quality and Tests

on:
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev
version: 1.0
- uses: actions/checkout@v3
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
shared-key: 'kolezanka'
- name: Build
run: cargo build --verbose

checks:
needs: build
runs-on: ubuntu-latest
steps:
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev
version: 1.0
- uses: actions/checkout@v3
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
shared-key: 'kolezanka'
- name: Tests
run: cargo test --verbose
- name: Code Format
run: cargo fmt --check
- name: Code Lint
run: cargo clippy -- -D warnings
30 changes: 30 additions & 0 deletions .github/workflows/rust-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Format Rust Code

on:
workflow_dispatch:
push:
branches: [ "main" ]

jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev
version: 1.0
- uses: actions/checkout@v3
- name: Format code
run: cargo fmt
- name: Setup committer
run: |
git config --local user.name "Matrix Busters Automatic Agent"
git config --local user.email "[email protected]"
- name: Commit changes
run: |
if [[ `git status --porcelain` ]]; then
git diff
git commit -am "Rust code reformatted automatically"
fi
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/target
/.idea
/.fleet
/out
project-matrix-busters.iml
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
- id: clippy
- id: cargo-check
Loading
Loading