Commit Graph

128 Commits

Author SHA1 Message Date
dependabot[bot] 819bdcb972
chore(deps): bump hashbrown from 0.14.2 to 0.14.3 (#3039)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-01 01:36:27 +02:00
MinusGix cfc88c434b
Update floem (#3134) 2024-04-01 00:49:20 +02:00
MinusGix 350aa48b6f
Update floem (#3128) 2024-03-29 22:03:42 +00:00
MinusGix 571485f1a6
Update floem for editor styling (#3122) 2024-03-28 21:12:40 +00:00
Dongdong Zhou 823651e7dd bump alacritty_terminal 2024-03-26 22:42:39 +00:00
Jakub Panek ed098beac2
fix: improve observability for plugins (#3104) 2024-03-25 13:49:34 +01:00
Jakub Panek 6ca7df9e91
fix: bump dependencies, remove indexmap/parking_lot duplicates (#3101) 2024-03-25 08:55:45 +00:00
Jakub Panek b9f1382f85
fix: typo in workspace dependency 2024-03-25 01:16:41 +01:00
MinusGix 987bfb8b28
Update floem (#3099) 2024-03-24 18:52:33 +00:00
Jakub Panek 51a56ac085
style: format Cargo manifests (#3092) 2024-03-24 17:56:31 +00:00
Jakub Panek 16e0775297
fix: update msrv (#3013) 2024-03-21 16:52:41 +01:00
MinusGix 21c714d3f0
Update floem (#3060) 2024-03-11 21:45:55 +00:00
MinusGix 70cee3b1b0
Implement line-ending switching (#3047) 2024-03-07 21:18:55 +00:00
Jakub Panek d2dcf4cf98
chore(deps): bump clap from 3 to 4 (#3015) 2024-02-25 21:08:43 +01:00
dependabot[bot] a5863e54b6
Merge pull request #2997 from lapce/dependabot/cargo/globset-0.4.14 2024-02-25 14:08:25 +00:00
dependabot[bot] 159c9cfc46
chore(deps): bump smallvec from 1.11.1 to 1.13.1 (#3009)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.11.1 to 1.13.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.11.1...v1.13.1)

---
updated-dependencies:
- dependency-name: smallvec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-23 14:41:46 +01:00
dependabot[bot] e6a66cab8d
chore(deps): bump globset from 0.4.13 to 0.4.14
Bumps [globset](https://github.com/BurntSushi/ripgrep) from 0.4.13 to 0.4.14.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/globset-0.4.13...globset-0.4.14)

---
updated-dependencies:
- dependency-name: globset
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 20:17:39 +00:00
Jakub Panek 49e4df0e89
fix: move globset to workspace deps (#3000) 2024-02-22 21:14:51 +01:00
a.e 8d1c65df98
chore(deps): bump floem to `341afd` (#2999)
* chore: bump floem to 39e7eb

* chore(deps): bump floem to `341afd`

* fix: handle panics
2024-02-22 08:24:28 +00:00
dependabot[bot] e9c3b96596
chore(deps): bump url from 2.3.1 to 2.5.0
Bumps [url](https://github.com/servo/rust-url) from 2.3.1 to 2.5.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.3.1...v2.5.0)

---
updated-dependencies:
- dependency-name: url
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 17:38:09 +00:00
Josh Triplett 15ec2fe5c9
Cargo.toml: Add license to metadata (#2986)
The README lists the license as Apache-2.0, but the `Cargo.toml` doesn't
contain license metadata. Add the license to `Cargo.toml` as well.
2024-02-18 21:13:48 +00:00
Dongdong Zhou 50b7152983 bump floem 2024-02-17 14:55:06 +00:00
dependabot[bot] f6328a72c0
chore(deps): bump notify from 5.0.0 to 5.2.0
Bumps [notify](https://github.com/notify-rs/notify) from 5.0.0 to 5.2.0.
- [Release notes](https://github.com/notify-rs/notify/releases)
- [Changelog](https://github.com/notify-rs/notify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/notify-rs/notify/commits)

---
updated-dependencies:
- dependency-name: notify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-15 12:55:38 +00:00
dependabot[bot] f75143f23e
chore(deps): bump crossbeam-channel from 0.5.8 to 0.5.11
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.8 to 0.5.11.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.8...crossbeam-channel-0.5.11)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-15 12:21:43 +00:00
dependabot[bot] 7acc4f5cda
chore(deps): bump once_cell from 1.18.0 to 1.19.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-15 11:43:33 +00:00
Jakub Panek 7258f38f62
add windows-sys, add error popup on panic, bring back panic hook to logfile (#2686) 2024-02-15 10:27:15 +00:00
dependabot[bot] 26cbf7081d
Merge pull request #2720 from lapce/dependabot/cargo/toml_edit-0.20.2 2024-02-15 10:20:21 +00:00
MinusGix 6e7aa1c5ab
Floem Editor (#2909)
* Initial sketch of floem-editor

* Very basic phantom

* Basic wrapping + layout styling

* More phantom, more styling, more view code

* Line height, more drawing code

* More drawing logic

* Move to separate crate

* Add example; fixes

* Partial reimpl of Lapce's Document

* Downcasting Document; add basic EditorData impl

* Progress on implementing run_command

* More progress on run_command

* Editor container view

* Hook up modal and smart tab

* Receive char

* Add clicking support

* Add Ctrl+{Home,End}

* Remove usage of buffer in Cursor::yank

* Bunch of editor -> new editor functions impl

* Scroll commands and other bits

* Make buildable

* Cursor blink; remove vestiges of sticky header

* Impl compute screen lines for new doc

* Replace existing modules with floem-editor versions

* Shift over to using floem-editor (broken)

* Remove uses of original doc

* Rename doc2 -> doc

* Don't force Rc to allow swapping out Editor signals

* Add Styling::id; various minor changes

* Fix updating Lines

* Hook up styling

* Deduplicate many pieces of paint logic

* Make indentation on newline configurable

* Impl scroll commands

* Add clippy changes from non-rebased commit

* Simplify+improve view update logic; fix style sharing bug

* Stop returning SyntaxEdit on edits

This was needed so that we can avoid depending on tree-sitter when extracting the buffer + editing logic out to floem-editor
This actually makes it cheaper in the cases where we don't need the edits.
However we are factoring the delta twice now. It would be better to not do that.

* Remove Syntax usage in Buffer

* Move syntax/util.rs, because syntax won't be in floem-editor-core

* Move all editor logic out of lapce-core and into floem-editor-core

* Remove lapce deps from floem-editor

* Fix warnings

* Fix various floem-editor TODOs

* Make cursor blink at the correct times

* Move last_movement onto floem-editor

* Rename core Editor -> Action to avoid name collisions

* Avoid crash where line is out of bounds while loading file

* Return iterative ropes with deltas

* Put off some todos; Reimpl some missing select cmds

* Dispose of editor on cleanup

* Move floem-editor to floem; various changes from that

* Update to use latest floem

* Update floem; Pass cache rev
2024-02-12 21:23:15 +00:00
Jakub Panek 1f040084e4
build(deps): lock lsp-types to patch versions only (#2860) 2023-12-24 07:28:29 +01:00
MinusGix e9435735f2
Implement inline completion (#2846) 2023-12-11 19:08:05 +00:00
Dongdong Zhou cb96e5ac3f bump version 2023-12-04 21:13:24 +00:00
dependabot[bot] e4ebafca03
chore(deps): bump toml_edit from 0.19.14 to 0.20.2
Bumps [toml_edit](https://github.com/toml-rs/toml) from 0.19.14 to 0.20.2.
- [Commits](https://github.com/toml-rs/toml/compare/v0.19.14...v0.20.2)

---
updated-dependencies:
- dependency-name: toml_edit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 22:23:04 +00:00
Dongdong Zhou c49e281422 bump version 2023-10-31 21:13:43 +00:00
dependabot[bot] 87b13c987b
Merge pull request #2716 from lapce/dependabot/cargo/smallvec-1.11.1 2023-10-28 01:21:27 +00:00
dependabot[bot] 76f6b78835
chore(deps): bump smallvec from 1.10.0 to 1.11.1
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.10.0 to 1.11.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.10.0...v1.11.1)

---
updated-dependencies:
- dependency-name: smallvec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 00:19:52 +00:00
dependabot[bot] fac0fd3bd8
chore(deps): bump regex from 1.7.0 to 1.10.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.7.0 to 1.10.2.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.7.0...1.10.2)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 00:19:03 +00:00
dependabot[bot] b57e2fa49c
chore(deps): bump rayon from 1.7.0 to 1.8.0
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.7.0 to 1.8.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.7.0...rayon-core-v1.8.0)

---
updated-dependencies:
- dependency-name: rayon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 22:41:51 +00:00
dependabot[bot] 27d932c1c2
chore(deps): bump interprocess from 1.1.1 to 1.2.1
Bumps [interprocess](https://github.com/kotauskas/interprocess) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/kotauskas/interprocess/releases)
- [Commits](https://github.com/kotauskas/interprocess/compare/1.1.1...1.2.1)

---
updated-dependencies:
- dependency-name: interprocess
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 10:08:25 +00:00
dependabot[bot] 553da3a5b8
chore(deps): bump hashbrown from 0.12.3 to 0.14.0
Bumps [hashbrown](https://github.com/rust-lang/hashbrown) from 0.12.3 to 0.14.0.
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/hashbrown/compare/v0.12.3...v0.14.0)

---
updated-dependencies:
- dependency-name: hashbrown
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-26 04:12:05 +00:00
dependabot[bot] a81f352b18
chore(deps): bump indexmap from 1.9.2 to 2.0.0 (#2694)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 06:10:43 +02:00
dependabot[bot] 5e17fa25d3
Merge pull request #2693 from lapce/dependabot/cargo/crossbeam-channel-0.5.8 2023-10-26 03:46:47 +00:00
Dongdong Zhou 88580f2247 add the ability to register debugger types 2023-10-23 22:52:33 +01:00
dependabot[bot] 4514221191
chore(deps): bump crossbeam-channel from 0.5.6 to 0.5.8
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.6 to 0.5.8.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.6...crossbeam-channel-0.5.8)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 17:21:39 +00:00
Dongdong Zhou 36e908ecf2 add step into out 2023-10-20 19:47:28 +01:00
dependabot[bot] 7a87fb9d34
chore(deps): bump clap from 3.2.22 to 3.2.25 (#2358)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-08 22:43:17 +02:00
Jakub Panek 1f62c4a3e5
feat: implement terminal profiles (#2467) 2023-09-26 21:14:05 +01:00
Dongdong Zhou 5e1a305471
switch to winit floem (#2566)
* switch to winit floem

* fix floem path

* bump floem

* fmt

* fix

* bump floem

* put system clipboard back

* fix keyboard

* add xorg-dev dependency for clipboard crate

* more dependecies

* bump floem
2023-08-29 23:18:33 +01:00
Daniel McNab c05ef6f1d8
Add a feature to enable Wayland support (#2562) 2023-08-23 20:37:29 +01:00
Jakub Panek 857e61de1e
fix: update toml_edit and use toml crate for easy parsing (#2548) 2023-08-16 22:17:33 +01:00
Dongdong Zhou 774008f54b remove lapce-data and lapce-ui 2023-08-10 22:07:34 +01:00