Commit graph

364 commits

Author SHA1 Message Date
ogoffart
3278b39549 Bump version number to 0.1.6 2021-11-24 14:19:09 +00:00
Simon Hausmann
2f6e5dcce3 Mention where to get the lsp binary in the lsp README 2021-11-24 12:53:43 +01:00
Simon Hausmann
cfb1ca41e3 Build the sixtyfps-viewer and the -lsp binary with the same workflow
This requires adding Cargo features to the lsp in order to be able to
make a build that doesn't use the GL backend. In theory --features
sixtyfps-interpreter/backend-qt could be used to opt into Qt, but
there's no way of turning off the gl backend AFAIK - hence the features
in the lsp.
2021-11-19 17:56:04 +01:00
Olivier Goffart
c3baef1f64 Compiler: Add a --style option
So we will be able to set the style from the command line args in addition
to the env variable
2021-11-16 17:06:15 +01:00
Olivier Goffart
aa24922a1a
Mention the VIM 3rd party plugins in the LSP readme
cc #429
2021-11-16 09:20:29 +01:00
ogoffart
b25ae6fbcd Bump version number to 0.1.5 2021-10-26 07:36:54 +00:00
Simon Hausmann
44c632dee1 Remove path to non-existent bin directory 2021-10-22 17:15:07 +02:00
Olivier Goffart
51fa9dc51b sixtyfps-viewer: re-enable the x11 feature by default
Some change in the feature handling caused it not to enable x11 nor wayland
2021-10-22 16:42:09 +02:00
Olivier Goffart
2f6ebfe38d Fix some docs warning 2021-10-22 14:32:17 +02:00
Simon Hausmann
34d28f4028 Minor sentence polish in the viewer README 2021-10-22 09:00:27 +02:00
Simon Hausmann
c7339afe75 Mention the viewer binaries 2021-10-22 08:55:20 +02:00
Olivier Goffart
f8c00b19b5 Add link to the examples from the sixtyfps-viewer README 2021-10-21 18:03:56 +02:00
Simon Hausmann
0d4c389e49 Add job for building viewer binaries with Qt 2021-10-21 14:38:19 +02:00
Olivier Goffart
56d592100e Update a few dependencies 2021-10-21 12:24:48 +02:00
Olivier Goffart
82a1cc1e83 Viewer: Added way to execute commands on callbacks 2021-10-12 13:58:52 +02:00
ogoffart
77fcd5221b Bump version number to 0.1.4 2021-10-07 09:36:43 +00:00
Olivier Goffart
d058e4c10e Viewer: Make the "Close" button properly close 2021-10-07 11:26:09 +02:00
Tobias Hunger
d79894769b viewer: Prettify help output
The options in sixtyfps-viewer --help used to look like this:

```
OPTIONS:
        --backend <backend>                         The rendering backend [default: ]
    -I <include path for other .60 files>...
        --load-data <load data file>                Load properties from a json file ('-' for stdin)
        --save-data <save data file>                Store properties values in a json file at exit ('-' for stdout)
        --style <style name>                        The style name ('native', 'fluent', or 'ugly') [default: ]
```

This patch removes the useless "[default: ]" part. These are options,
so even without this text it should be very obvious that the `--style`
and the `--backend` parameters are indeed optional.
2021-10-05 21:40:13 +02: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
Olivier Goffart
cf2e189245 Small fix to the viewer docs 2021-09-30 11:48:09 +02:00
Olivier Goffart
efae60ae7e
Add README for the sixtyfps-viewer 2021-09-30 10:26:12 +02:00
Olivier Goffart
7db9f3dfa9 Dialog: automatically add clicked callback for the standard button
And make the viewer listen to them and set them to automatically close dialogs
2021-09-30 10:21:13 +02:00
Simon Hausmann
21f9850b43 Small spelling fix 2021-09-29 14:55:08 +02:00
Olivier Goffart
0eb223b2ca Update tools/viewer/main.rs
Co-authored-by: Simon Hausmann <simon.hausmann@sixtyfps.io>
2021-09-24 09:23:48 +02:00
Olivier Goffart
321d985242 Viewer: add ability to load and save property values from/to json
issue #238
2021-09-24 09:23:48 +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
fe015a8086 Allow the sixtyfps-compiler and sixtyfps-viewer to read from stdin
By specifing `-` as a path
2021-09-09 15:30:52 +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
Olivier Goffart
293130e2e3 Also use touch-action: none; in the online editor 2021-08-20 16:28:51 +02:00
Tobias Hunger
aea4ecca99 Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
Simon Hausmann
43eea7b655 Apply the loading spinner from the plotter example to the online preview 2021-08-12 10:50:09 +02:00
Olivier Goffart
ffccef4e0c Examples: replace all _ by - in identifiers 2021-08-10 22:21:01 +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
1d71a2beeb Janitor: Fix clippy::collapsible_if 2021-08-09 13:19:34 +02:00
Olivier Goffart
23e3c68357 Online editor: ability to select the style 2021-08-07 12:49:53 +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
0d73917526 Janitor: Fix clippy::writeln_empty_string 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