Commit graph

62 commits

Author SHA1 Message Date
Olivier Goffart
7ee19cf7c0 syntax_updater: Allow for any "0.1.x" from version 2022-02-02 11:04:22 +01:00
Olivier Goffart
692171bf0c Change the 60 blocks to slint blocs in documentation comments 2022-02-02 10:51:42 +01:00
Olivier Goffart
03534039d6 Replace more .60 by .slint
Mainly an automated change with
    git grep -O"sed -i 's/\.60/.slint/g'" -w "\.60"

and some manual checks
2022-02-02 10:12:31 +01:00
Simon Hausmann
cab22f8355 Rename the sixtyfps-compilerlib crate 2022-02-01 18:08:18 +01:00
Tobias Hunger
e6b24bceec [reorg]: Set up and populate the internal directory
Move "internal" crates into the `internal` directory. This first batch
includes most of sixtyfps_runtime but leaves the rendering backends
alone for now.

pre-commit applied some cleanups to the moved files:
 - Consistent newline at end of file policy
 - trimming trailing whitespace
 - Formatting Cargo.toml files.
2022-01-31 16:00:50 +01:00
Olivier Goffart
d22c8bd3df Janitor: Bump rowan version 2022-01-31 15:23:38 +01:00
Olivier Goffart
a45dcc1f9a Update to edition 2021
The ffi function wrapper need to be changed because in the 2021 edition, when
the capture is moved into the closure, it moves the individual field instead
of the whole wrapper. But we need to move the whole wrapper because the Drop
of the wrapper will delete the C++ closure, and we don't want to call the
closure after it is deleted.
2022-01-25 11:40:11 +01:00
ogoffart
42f1964e54 Bump version number to 0.2.0 2022-01-24 11:39:50 +01:00
Tobias Hunger
2f6be7b31f Mass-add copyright headers into Cargo.toml files 2022-01-19 11:25:21 +01:00
Tobias Hunger
c02da14dc8 Move from stuctopt to clap 3
* Do not explicitly enable color output: That is default anyway
* Consistently use from_os_str() for file pathes
* Fix wrong types used in some places
2022-01-10 16:53:08 +01:00
Tobias Hunger
75e97a43fa
janitor: Fix clippy::to_string_in_format_args warning
Do not use to_string() when formating something that has the `Display`
trait.
2022-01-03 21:35:21 +01:00
Tobias Hunger
597467fae9 Manually update license information in Cargo.toml files
... that are not published or private or not processed by xtask for
other reasons.
2021-12-22 10:06:12 +01:00
Tobias Hunger
bfca0e3573 Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
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