ogoffart
b25ae6fbcd
Bump version number to 0.1.5
2021-10-26 07:36:54 +00:00
Olivier Goffart
56d592100e
Update a few dependencies
2021-10-21 12:24:48 +02:00
ogoffart
77fcd5221b
Bump version number to 0.1.4
2021-10-07 09:36:43 +00:00
ogoffart
8b9717633e
Bump version number to 0.1.3
2021-10-05 10:31:45 +00:00
Simon Hausmann
c564482343
Update dependencies as per release checklist
2021-09-30 14:58:49 +02:00
Jocelyn Turcotte
0292afa325
LSP Sublime Text: Fix '%YAML indicator is required'
...
This only happened to me on Linux yet for some reason, but
moving the %YAML indicator to the first line above the license
header fixed it.
2021-09-11 17:20:18 +02:00
Olivier Goffart
f69ad502d6
Update rowan version
2021-09-04 10:50:06 +02:00
ogoffart
e54e03148f
Bump version number to 0.1.2
2021-09-04 10:08:51 +02:00
Olivier Goffart
4ebc49f57d
Missing license header in new file
2021-08-25 17:07:47 +02:00
Olivier Goffart
ab21dc6462
Move the semantic token code to its own module
2021-08-25 13:30:28 +02:00
Olivier Goffart
11398c19eb
First implementation of semantic token in the LSP
2021-08-25 13:26:50 +02:00
Tobias Hunger
aea4ecca99
Apply pre-commit hooks to all files
2021-08-17 22:38:16 +02:00
Simon Hausmann
01c3347d19
Make fluent the new default style
...
It's not ugly :-)
2021-08-10 15:56:38 +02:00
ogoffart
53f286258c
Bump version number to 0.1.1
2021-08-10 08:06:20 +00:00
Olivier Goffart
5d9608a565
Keep the Rotate
element as internal
2021-08-09 17:43:22 +02:00
Olivier Goffart
b6137ecbc4
Error when trying to use internal builtin items
2021-08-09 17:43:22 +02:00
Tobias Hunger
9dcd107e84
Janitor: Fix clippy::single_match
2021-08-09 13:19:34 +02:00
Tobias Hunger
bac4d895ce
Janitor: Fix clippy::while_let_on_iterator
2021-08-09 13:19:34 +02:00
Tobias Hunger
4c7ecc57d8
Janitor: Fix clippy::or_fun_call
2021-08-04 22:50:35 +02:00
Tobias Hunger
04738a900f
Janitor: Fix clippy::map_clone
2021-08-04 22:50:35 +02:00
Tobias Hunger
ce976a1dbb
Janitor: Fix clippy::useless_conversion
2021-08-04 22:50:35 +02:00
Tobias Hunger
c74565a883
Janitor: Fix clippy::needless_return
2021-08-04 22:50:35 +02:00
Tobias Hunger
24a2021226
Janitor: Fix clippy::needless_borrow
2021-08-04 22:50:35 +02:00
Tobias Hunger
ce4727b2e8
Janitor: Fix clippy::single_char_pattern
2021-08-04 22:50:35 +02:00
Tobias Hunger
5cf23f102e
Janitor: Fix clippy::redundant_pattern_matching
2021-08-04 22:50:35 +02:00
Simon Hausmann
29f5853332
Provide sixtyfps::Window
by reference in the Rust API
...
This also removes Clone from the Window again, to avoid having to face
the question: Does cloning a window duplicate it on the screen?
2021-08-03 10:32:04 +02:00
Simon Hausmann
235ce85edd
Fix warning about unused import
...
Accidentally missed in #347 , amends 742c1eddfd
2021-07-23 13:57:55 +02:00
Simon Hausmann
742c1eddfd
Fix alpha detection condition in the color presentation request
...
It needs to be not 1
Co-authored-by: Olivier Goffart <olivier@woboq.com>
2021-07-23 13:48:52 +02:00
Tobias Hunger
2cdc5848a2
Janitor: Replace float comparison dance with approx_eq from euclid
...
Sixtyfps uses euclid already, so let's use euclid for float comparisons
as well.
I changed the code to decide whether a number is a positive integer to
make do without a comparison along the way.
2021-07-23 13:48:52 +02:00
Tobias Hunger
27b42687fa
Janitor: Fix clippy::redundant_closure
2021-07-23 13:48:52 +02:00
Tobias Hunger
9539a53480
Janitor: Fix clippy::redundant_clone
2021-07-23 13:48:52 +02:00
Olivier Goffart
a095d8322e
LSP: add a "Show preview" code lense
2021-07-22 09:19:41 +02:00
Olivier Goffart
0766ebbd0d
LSP: update the lsp-types crate version
2021-07-22 09:19:41 +02:00
Tobias Hunger
4bd8920ac4
Janitor: Fix clippy::declare_interior_mutable_const
2021-07-21 19:44:57 +02:00
Olivier Goffart
d7402be076
LSP: properly classify callback aliases in auto-complete
...
Otherwise the completion is wrong as it tries to complete
with `:` instead of `=>`
2021-07-15 11:10:05 +02:00
Tobias Hunger
024faa6322
Janitor: Use float comparison dance
...
Color values can be calculated, so do the full comparison dance instead
of doing the bitwise comparison.
2021-07-12 15:01:19 +02:00
Tobias Hunger
88b8634007
Janitor: Remove useless drop
...
This was dropping a referrence, which is a no-op. So remove this drop.
2021-07-12 15:01:19 +02:00
Tobias Hunger
dc51d4ccda
Use impl Default
instead of new()
constructors
2021-07-12 13:22:25 +02:00
Jocelyn Turcotte
f12abe1bec
LSP: Enable comment toggling in Sublime Text
...
It needs a .tmPreferences file to be able to know how to
generate comments.
https://sublime-text-unofficial-documentation.readthedocs.io/en/latest/reference/comments.html
2021-07-05 09:47:41 +02:00
Jocelyn Turcotte
7610d6302f
LSP: Update Sublime Text instructions for version 4
...
The showPreview workaround was only necessary in Sublime Text 3,
so remove it.
Version 3 is still used by some people but most future users will be
using Sublime Text 4.
2021-07-05 09:47:41 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Simon Hausmann
cec7dde6e6
Small typo fixes
2021-06-30 16:12:39 +02:00
Olivier Goffart
98cec35080
Increase version numbers
2021-06-28 10:39:43 +02:00
Olivier Goffart
ffb0a9881b
Add command line arguments to the LSP
...
To set the include path, the style, or the backend
2021-06-09 17:15:49 +02:00
Olivier Goffart
6c1aa9bd8f
Add a pass to always have the top level as a Window
2021-06-09 11:02:55 +02:00
Olivier Goffart
715d38903f
Allow to omit the type of aliases
2021-06-07 10:48:09 +02:00
Olivier Goffart
1537a60712
LSP: auto-complete for the reserved property
...
Which includes the layout properties
2021-05-28 15:03:45 +02:00
Olivier Goffart
1c505edd09
Revert the change to depends on the public crate from our tools
...
We should probablt re-ecport the function from the interpreter, but one
shouldn't depends both on sixtyfps and sixtyfps-interpreter at the same
time
2021-05-25 15:53:49 +02:00
Simon Hausmann
73f647c2e1
Add the Rust equivalent of sixtyfps::invoke_from_event_loop
...
The same API exists in C++.
2021-05-25 15:53:49 +02:00
Olivier Goffart
91b43017ad
Fix build
2021-05-20 18:28:52 +02:00