ogoffart
3278b39549
Bump version number to 0.1.6
2021-11-24 14:19:09 +00:00
ogoffart
b25ae6fbcd
Bump version number to 0.1.5
2021-10-26 07:36:54 +00: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
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
ffccef4e0c
Examples: replace all _ by - in identifiers
2021-08-10 22:21:01 +02:00
ogoffart
53f286258c
Bump version number to 0.1.1
2021-08-10 08:06:20 +00:00
Tobias Hunger
1d71a2beeb
Janitor: Fix clippy::collapsible_if
2021-08-09 13:19:34 +02:00
Tobias Hunger
24a2021226
Janitor: Fix clippy::needless_borrow
2021-08-04 22:50:35 +02:00
Tobias Hunger
0405beed83
Janitor: Fix clippy::redundant_static_lifetimes
2021-07-23 13:48:52 +02:00
Tobias Hunger
c3e0324787
Janitor: Spelling/grammar fixes in comments
2021-07-23 13:48:52 +02:00
Tobias Hunger
37619b8918
Janitor: OPTION.as_ref().map(String::as_str)
== OPTION.as_deref()
...
This is clippy::option_as_ref_deref
2021-07-15 07:55:06 +02:00
Tobias Hunger
02557b0406
Janitor: Fix typos in comments
2021-07-15 07:55:06 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Olivier Goffart
9bf0c0d963
Fixup last commit
2021-07-02 12:52:56 +02:00
Olivier Goffart
7601c7e2eb
Updator: allow to update from 0.1.0
...
Even if there is nothing to do yet
2021-07-02 12:44:02 +02:00
Simon Hausmann
a7ce64657c
Restore source compatibility for drop-shadow-blur
...
Let's keep source compatibility and define `drop-shadow-blur` to be a radius.
The CSS spec says that the standard deviation is half of the radius.
We just need to scale again and increase the shadow rect to make sure that no borders are visible.
2021-05-20 12:14:05 +02:00
Simon Hausmann
c08a8aa954
Improve drop-shadow-blur updater logic
...
* Catch drop_shadow_blur besides drop-shadow-blur
* Use a C style comment in case the binding is not at the end of the line
2021-05-20 08:50:02 +02:00
Simon Hausmann
136342023f
Add support for drop-shadow-blur type change to the syntax updater
...
Keep the code compiling with a visually still appealing result, but
add a comment that this may need visual review.
2021-05-20 08:50:02 +02:00
Olivier Goffart
6530518dd6
Some fixups after review
2021-05-11 14:59:57 +02:00
Olivier Goffart
da1deb714b
Updater: Remove colspan/rowspan/row/col when not in a GridLayout
...
This was ignored before, and now it would be an error
2021-05-11 14:59:57 +02:00
Olivier Goffart
b0685fe849
Updator: change logical_length to length
2021-04-21 17:44:53 +02:00
Olivier Goffart
84e0b24550
Some refactoring of the syntax_nodes module
...
Ensure that the node always contains the write kind by panicking
if it doesn't.
Add some documentation for the macro that declares them
2021-04-14 11:46:49 +02:00
Olivier Goffart
84501e630a
Rename SyntaxNodeWithSourceFile to SyntaxNode
...
Same for SyntaxToken
2021-04-13 17:10:56 +02:00
Olivier Goffart
5c795e7bab
Use SyntaxNodeWithSourceFile everywhere instead of SyntaxNode
2021-04-13 17:10:56 +02:00
Olivier Goffart
de090ccd1d
Add missing file
2021-04-13 10:43:54 +02:00
Olivier Goffart
471c2eb9f8
Updator from 0.0.5
2021-04-13 10:33:20 +02:00
Olivier Goffart
730b1ccff2
Refactor diagnostic: Merge BuildDiagnostic and FileDiagnostic
2021-03-12 19:32:50 +01:00
Olivier Goffart
82aa658cef
Update rowan
2021-01-28 15:37:01 +01:00
Olivier Goffart
0d2d48be4f
Rename "signal" to "callback"
2020-12-18 09:51:01 +01:00
Simon Hausmann
04661913b1
Add support for markdown code fences in the syntax updater
2020-10-16 12:30:11 +02:00
Simon Hausmann
bacc43140d
Minor cleanup in syntax updater
...
Move the .rs file processing into a helper function as we'll add a .md one soon, too.
2020-10-16 12:30:11 +02:00
Olivier Goffart
1138c9dbed
Normalize the spelling of SixtyFPS
2020-10-13 07:48:55 +02:00
Olivier Goffart
58cdaeb8dd
Update license header to mention that commertial option are available
2020-08-26 13:23:42 +02:00
Olivier Goffart
ea1f215367
Some polishinbg of the .toml files
...
- Give all the sixtyfps-* create a 0.0.1 version
- Make sure that the internal dependences are using the exact same version
(so "=0.0.1")
- Add the description/homepage/repository fields in the .toml files
- Set publish=false to crates that are not meant to be published on crates.io
2020-08-24 16:28:11 +02:00
Simon Hausmann
7f1d9f5252
Commit correct license tags to Cargo.toml
...
For now that's GPL-3.0 only, but this can be changed :-)
2020-08-18 10:12:59 +02:00
Simon Hausmann
2823f32692
Apply license headers to all non-binary/non-json sources
2020-08-17 17:55:20 +02:00
Simon Hausmann
a9b0d84a72
Improve source file propagation
...
Instead of doing the SyntaxNodeWithSourceFile construction as late as
possible (in Document::from_node), we can do it as early as possible.
That'll reduce the chances of missing out the source file and prepares
for dependency loading just based on a SNWS :)
This also makes the source_file optional in the SNWS, but that's
consistent with what the diagnostics expect.
2020-07-22 16:10:02 +02:00
Simon Hausmann
64a4e749b7
Simplify path setup in the Diagnostics
...
Pass the path to the parse function, as that's easier at most call sites.
Also offer a convenience parse_file function.
2020-07-15 19:21:25 +02:00
Simon Hausmann
8e047d3761
Simplify compiler diagnostics API
...
Don't require the callers to hold on to the source code string until an
eventual diagnostics code path is hit. Instead it turns out it's
simpler to let the parser consume the source code as string, where
internally after tokenizing it can be moved into the diagnostics and
from there into the code map if needed.
There are a few places where we now clone the source code, but that's
only in cases where we also extract stuff separately (test code) or the
syntax updater.
2020-07-15 17:34:11 +02:00
Olivier Goffart
952ddda7c4
Force duration to have an unit
2020-07-14 16:18:12 +02:00
Olivier Goffart
3651885d87
Move the compiler binary in tools/
...
And rename sixtyfps_compiler to sixtyfps_compilerlib
2020-06-05 09:23:38 +02:00
Olivier Goffart
36fb526811
Do inlining in a pass before the lowering
2020-05-26 15:10:27 +02:00
Olivier Goffart
3965d9048f
syntax_updater: also update the .rs files containing sixtyfps!
2020-05-25 11:49:52 +02:00
Olivier Goffart
5228f3695d
Revert "Replace '=' with ':='"
...
This reverts commit 7be8b09b3b
.
Now that the replacement is done
2020-05-25 10:45:10 +02:00
Olivier Goffart
7be8b09b3b
Replace '=' with ':='
2020-05-25 10:43:19 +02:00
Olivier Goffart
058676e526
Initial import of a syntax_updater tool that rewrite files
2020-05-25 10:07:43 +02:00