Olivier Goffart
eec09310a7
Fix license check
2021-05-07 18:59:01 +02:00
Olivier Goffart
65da9cb933
Some progress on the iot-dashboard demo
2021-05-07 18:54:28 +02:00
Olivier Goffart
d7d9badc93
Fix panic when using some value from an invalid component in a imported file
2021-05-07 18:28:23 +02:00
Olivier Goffart
e074d7ce89
Fix panic when aliases are merged with property in another component
2021-05-07 17:15:45 +02:00
Olivier Goffart
1106f6f201
Fix conversion of some units
2021-05-07 17:13:38 +02:00
Olivier Goffart
e163794549
Fix panic when a non-element type is used as an element
2021-05-07 15:36:10 +02:00
Olivier Goffart
fd2f8eb3fb
Make sure to make the UI thread also exit when the LSP server panics
2021-05-07 11:54:30 +02:00
Olivier Goffart
3ebeb1654c
LSP: don't advertize things we don't support
2021-05-07 11:15:09 +02:00
Olivier Goffart
07229a16f5
WIP iot-dashboard
...
A port of https://github.com/peter-ha/qskinny/tree/iot-dashboard/examples/iot-dashboard
2021-05-07 10:27:58 +02:00
Olivier Goffart
9d6bbba776
CI: disable rust incremental build
...
It's a CI, there will not be any incremental build later.
So the build should be slightly faster
And also we will not use gigabytes in the incremental directory
2021-05-06 19:31:01 +02:00
Olivier Goffart
a4b31fbe2e
CI: -W was not enough to override the -D, use -A instead
...
Also fix a warning about the usage of std::any::Any without dyn
2021-05-06 19:03:52 +02:00
Olivier Goffart
80f98c727c
Do not deni deprecated warning
...
It warns about things udeprecated in rust 1.52 that only have
alternatives in rust 1.52, and i don't feel confident requiring
1.52 already
2021-05-06 18:15:08 +02:00
Olivier Goffart
052ea15989
Extends the C++ API docs for the interpreter a bit
2021-05-06 10:03:27 +02:00
Olivier Goffart
51836a9457
Attempt to fix a stack overflow in debug
...
The function that initialize all the bindings is huge, and its framz size is
too big. Put each binding evaluation in its own function seems to help
to avoid the stack overflow
Hopefully fixes #133
2021-05-05 22:01:06 +02:00
Simon Hausmann
91c0618575
Try to enable Qt for the cmake build on Windows
2021-05-04 15:44:49 +02:00
Simon Hausmann
1265c73e01
Fix MSVC build
...
Include ctime for std::time_t
2021-05-04 15:35:27 +02:00
Olivier Goffart
4965be73ea
CI: test "update" from 0.0.6
...
There is currently nothing to update, but so the test should still pass
2021-05-04 12:38:57 +02:00
Simon Hausmann
140b054de5
Fix up license check
...
Those two sublime config files don't need a license header
2021-05-03 10:30:15 +02:00
Jocelyn Turcotte
beadd38b3e
Add Sublime Text files to the license check configuration
2021-05-03 10:30:15 +02:00
Jocelyn Turcotte
d468d10d63
LSP: Add Sublime Text instructions and syntax highlighting
...
The syntax highlighting was mostly ported from sixtyfps.ksyntaxhighlighter.xml
and the VSCode extension, so they could theoretically be updated together.
2021-05-03 10:30:15 +02:00
Olivier Goffart
c119d28237
LSP: Make sure the sender channel is droped when closing
...
It might keep alive the IO thread otherwise
2021-05-02 15:10:48 +02:00
Olivier Goffart
16fe50fed1
Add documentation about tools in the README
2021-05-02 09:22:32 +02:00
Simon Hausmann
eb1ba121a2
Fix the size of the check boxes in the settings page
...
In the first row the check box is smaller than elsewhere.
The standard height used for spin boxes and combo boxes is 32px, so check boxes should have the same.
Otherwise there are only labels on that layout row and those should have a flexible
height.
2021-04-30 15:58:33 +02:00
Simon Hausmann
ef1a605953
Add support for showing warning diagnostics in the online editor
2021-04-30 15:43:05 +02:00
Simon Hausmann
02d598ee64
Make clicking on the more button in the printer queue navigate to the printer queue
2021-04-30 15:24:08 +02:00
Simon Hausmann
ecaa55832f
Use hover for the ugly style combo box as well
...
This appears to be more consistent with how most combo boxes behave
2021-04-30 15:14:10 +02:00
Simon Hausmann
141c05410e
Polish the combobox in the printer demo
...
Provide a highlight on hover
2021-04-30 15:11:40 +02:00
Olivier Goffart
4d4bbd6fd6
sixtyfps-fmt: reformat callback declaration and connections
2021-04-30 11:28:02 +02:00
Olivier Goffart
ee5674ce15
Fix license header
2021-04-29 15:08:32 +02:00
Simon Hausmann
4a603aa204
Add comment about ttf parser version pin
2021-04-29 13:49:44 +02:00
Olivier Goffart
f871867608
WIP: formater tool
2021-04-29 13:44:12 +02:00
Simon Hausmann
fba562f5b4
Use a femtovg build that uses the same ttf parser version as rustybuzz
...
Saves ~5kb on sixtyfps-wasm-interpreter (release + wasm-opt)
2021-04-29 11:30:18 +02:00
Simon Hausmann
42154c5ead
Use the same version of the ttf_parser crate as rustybuzz
...
We're currently using three different versions of ttf_parser, and
this brings it down to 2. The other culprit is femtovg.
Saves ~1kb on release build of sixtyfps-wasm-interpreter
2021-04-29 11:21:30 +02:00
Simon Hausmann
d73e7e48d3
GL backend: Fix GPU memory leak with layers
...
Delete any FBOs before making the context not current. Ooops!
Fixes #211
2021-04-29 09:23:07 +02:00
Simon Hausmann
9dcbf4b5ad
Revert "Change docs to point to the 0.0.6 version of the wasm interpreter"
...
This reverts commit 944c6e44af
because
we're past the release and should pointer back to master builds.
2021-04-27 17:43:45 +02:00
Olivier Goffart
a12436a253
Add sixtyfps-lsp in the publish script
2021-04-27 17:38:27 +02:00
Olivier Goffart
4dc9a6ee78
Add links in some README
...
Since they are going to be shown out of context
2021-04-27 17:14:30 +02:00
Simon Hausmann
f1cc1a049f
Fix link to $self in the vs code extension README
2021-04-27 17:12:12 +02:00
Simon Hausmann
944c6e44af
Change docs to point to the 0.0.6 version of the wasm interpreter
...
... in time for the release
2021-04-27 17:07:38 +02:00
Olivier Goffart
9e6970abfe
ListView: Fix panic when removing item that are not visible
2021-04-27 16:37:17 +02:00
Simon Hausmann
de8e398ad2
Bump cargo sixtyfps crate dependency version in Rust docs
2021-04-27 15:48:53 +02:00
Simon Hausmann
5acd05d2f1
Update use of GIT_TAG in the C++ docs
2021-04-27 15:47:05 +02:00
Simon Hausmann
e3d031a5a4
Fix wasm build when Qt is found in the host system
...
Pull in qttypes only on non-wasm builds. This requires resolver = "2" as
well, but we require that anyway for wasm builds.
2021-04-27 15:43:05 +02:00
Simon Hausmann
8308855053
Modernize the memory game
...
Use the new clip property on Rectangles instead of the deprecated Clip element
2021-04-27 15:13:50 +02:00
Simon Hausmann
4891ed8c77
Add v0.0.6 to the changelog
2021-04-27 14:46:52 +02:00
Simon Hausmann
491b064e27
Fix loading of the printer demo in the online editor
...
Don't panic when loading a path from the file system fails, instead print an error.
2021-04-27 14:38:46 +02:00
Simon Hausmann
1e089389e5
Remove the example code from the interpreter namespace docs again
...
I can't seem to convince sphinx/breathe/doxygen to include them like
they work in the class docs.
I tried the markdown quotes, spaces, \code/\endcode, \rst/\endrst but no luck yet.
2021-04-27 14:11:46 +02:00
Simon Hausmann
140de87351
Add a brief overview section to the C++ interpreter namespace
...
This mirrors the Rust module side.
Unfortunately the code examples aren't rendered correctly :(
2021-04-27 13:02:41 +02:00
Olivier Goffart
eab8f733fc
Build the old printer C++ demo
2021-04-27 12:20:06 +02:00
Olivier Goffart
a677cb7402
Fix the ugly list view
2021-04-27 11:29:43 +02:00