ogoffart
fb02b4118b
Bump version number to 0.3.3
2022-11-28 13:11:11 +00:00
ogoffart
2171773a3e
Bump version number to 0.3.2
2022-10-28 09:30:14 +00:00
Tobias Hunger
2bbf236e25
janitor: Update clap to 4.0 (+fix some typos)
2022-10-26 08:59:36 +02:00
ogoffart
261614b914
Bump version number to 0.3.1
2022-09-15 14:39:51 +02:00
ogoffart
05a49da906
Bump version number to 0.3.0
2022-09-06 13:00:22 +02:00
ogoffart
6b15d2e479
Bump version number to 0.2.6
2022-07-06 09:58:14 +00:00
Olivier Goffart
856a7d7f0a
figma import: use the clip property instead of the Clip element
...
Fixes #1288
2022-05-20 16:24:55 +02:00
ogoffart
3709ded44d
Bump version number to 0.2.5
2022-05-09 16:16:00 +00:00
ogoffart
c160ec2aef
Bump version number to 0.2.4
2022-05-09 13:49:25 +00:00
ogoffart
6395cdfc09
Bump version number to 0.2.3
2022-05-04 12:32:58 +00:00
Tobias Hunger
c68291b7f8
Janitor: Clap update + basic functionality addition to all binaries
...
Make clap generate `--version`, and make it add more informtaion from
Cargo.toml available in `--help`.
2022-03-10 12:34:36 +01:00
ogoffart
7b50791db4
Bump version number to 0.2.2
2022-03-10 08:48:33 +00:00
ogoffart
ecd0fb7ecd
Bump version number to 0.2.1
2022-02-10 16:25:28 +01:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
...
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Tobias Hunger
1534f87e30
Change authors to Slint Developers
2022-02-02 16:21:34 +01:00
Olivier Goffart
3594c20153
Replace SixtyFPS in many locations (Uppercase)
2022-02-02 15:49:18 +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
Olivier Goffart
d706d63ce1
Replace references to the .60 files that are now renamed with .slint
2022-02-02 10:12:31 +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
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
ogoffart
e54e03148f
Bump version number to 0.1.2
2021-09-04 10:08:51 +02:00
Tobias Hunger
aea4ecca99
Apply pre-commit hooks to all files
2021-08-17 22:38:16 +02:00
ogoffart
53f286258c
Bump version number to 0.1.1
2021-08-10 08:06:20 +00:00
Benoit Canet
f1f9ff63cf
importer: Fix build compilation errors.
...
A crate that disapeared was probably providing the
used trait.
Switch the transparency comparison code to use:
https://docs.rs/float-cmp/0.9.0/float_cmp/ .
Given I a not a graphic programmer the patch uses
value that seems meaningfull according to the doc
of the float_cmp crate.
Excerpt from the documentation:
"""For most cases, I recommend you use a smallish
integer for the ulps parameter (1 to 5 or so),
and a similar small multiple of the floating point’s
EPSILON constant (1.0 to 5.0 or so), but there are
plenty of cases where this is insufficient."""
Signed-off-by: Benoît Canet <benoit@nodalink.com>
2021-07-29 08:08:09 +02:00
Benoit Canet
b45aa8dcf6
importer: Remove spurious semicolumns.
...
These extras semicolumns were triggering
compiler warnings; get rid of them.
Signed-off-by: Benoît Canet <benoit@nodalink.com>
2021-07-29 08:08:09 +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
mwaitzman
2d2afad670
polish to figma_import's README.md
2021-07-20 16:05:10 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Simon Hausmann
7cea088a2c
Add support for letter-spacing in text
...
This is conveniently supported by femtovg and Qt
2021-02-16 22:14:50 +01:00
Olivier Goffart
1d1d42bec1
Figma import: fix images importing
2021-02-12 21:40:34 +01:00
Olivier Goffart
670bef069d
Figma import: Warning insted of generating wrong code for unsupported gradients
2021-02-12 20:47:59 +01:00
Olivier Goffart
36ecc19d3c
figma_import: import images in parallel
2021-02-12 20:47:59 +01:00
Olivier Goffart
9077cf86b0
Figma import: allow loading from cache and be more resillient when geometry is null
2021-02-12 20:47:59 +01:00
Olivier Goffart
1793ef4d77
Figma importer: linear gradients
2021-02-10 18:45:10 +01:00
Olivier Goffart
238ff9e92a
Figma import: Clip items with isMask
2021-02-10 17:32:08 +01:00
Olivier Goffart
c3a4095c35
Figma import: line
2021-02-10 17:17:25 +01:00
Olivier Goffart
203a18d958
Figma import: add clip
2021-02-10 14:54:53 +01:00
Olivier Goffart
6b162dac9e
Figma importer: Fix the border radius
2021-02-10 14:40:36 +01:00
Olivier Goffart
3c50f13c2a
Figma import: make use of Path::fill-rule
2021-02-10 14:21:42 +01:00
Olivier Goffart
600186220c
Some work towards a figma importer
2021-02-10 12:49:59 +01:00