refactor: rewrite codebase to Rust #8
No reviewers
Labels
No Label
bug
documentation
duplicate
feat
good first issue
help wanted
in-progress
invalid
question
refactor
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: fortressia/echidna#8
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "ref/rust"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Closes #7. Partially implements #2.
Additionally, this adds a barebones editor and semi-working menubar.
Todo:
GitHubGitLab repo, about dialog, etc)Open file in a new editor. (done)Save file in editor.Close editor.Will be implemented later on.I know you hate coding in Rust, vierofernando on GitHub. What about just reading Rust code?
Send code review plz.
changed the description
assigned to @FortressNordlys
marked the task Open file in a new editor. as completed
changed the description
changed the description
Honestly, why not just remove the bracket?
changed this line in version 2 of the diff
changed this line in version 2 of the diff
changed this line in version 2 of the diff
changed this line in version 2 of the diff
changed this line in version 2 of the diff
added 4 commits
211f2330
- style(.ui): add missing license header to menu.ui4d238608
- chore(.ui): remove ui/window.ui8c05235e
- refactor: simplify FileImplementedEditor::action_open_file()6c6afa74
- style: format source files with Rustfmt toolingCompare with previous version
Resolved by
6c6afa74
.Resolved by
6c6afa74
.Resolved by
6c6afa74
.Resolved by
6c6afa74
.Resolved by
6c6afa74
. Using Rustfmt.changed the description
changed the description
added 2 commits
fc275837
- fix: open_file listener passing window not as a ref0a137509
- chore: move to EchidnaHQ's own sourceview bindingsCompare with previous version
added 3 commits
ffdc612e
- feat: implement barebone features for Sidebar widget6144feb8
- refactor: move editor code to a separate EchidnaCoreEditor widget6ad708cf
- feat: use EchidnaSidebar in window ui fileCompare with previous version
marked the task Implement opening and saving file with GtkSourceView's native opening and saving functionality. as completed
marked the task Implement opening and saving file with GtkSourceView's native opening and saving functionality. as incomplete
marked this merge request as draft
changed the description
changed the description
changed the description
added 3 commits
5e1de2ec
- refactor: remove unused borrows in menubar.rs48f63a88
- style: format codebase with cargo fmt839b3d5b
- feat: implement scrollbar for editorCompare with previous version
changed this line in version 6 of the diff
added 1 commit
5945c06e
- style: separate @extends and @implements into separate linesCompare with previous version
By default, Rustfmt adds commas to the end. If we want to enforce no unnecessary commas, then we need to add a configuration that disables it.
AAAGH, I forgot that
@string
mentions people.Sorry if anyone got annoyed by the mention.
But eh, the Rust formatting convention uses trailing commas for matches and multi-line calls.
Resolving this. We should just follow the Rust formatting convention.
added 3 commits
12961576
- refactor: split action declarations into separate bracketsb54780e4
- feat: implement EchidnaWindow::to_imp()390485b3
- feat: implement win.save-file-as actionCompare with previous version
changed the description
added 1 commit
cc4811b0
- chore: add extensions to the barebone sidebarCompare with previous version
added 1 commit
d68a8a89
- style: format files with RustfmtCompare with previous version
Can't merge. The lines have changed so much.
resolved all threads
marked this merge request as ready
requested review from @VoltrexMaster
@VoltrexMaster Hey, can you give me another review, please? And by review, not just some style changes.
Let's get this merged.
added 2 commits
9594ed65
- style: format files with Rustfmt1b9f20b6
- refactor: switch to .expect() from matchCompare with previous version
mentioned in commit
70b8a456e5
mentioned in issue #2