Simon Hausmann
fa1ac9884d
Verify the existence of imported custom fonts
...
... and produce diagnostics.
That way in later phases we don't need to check again.
As an unfortunately side-effect, we need to skip one of the examples in
the language reference from the doc test, as the compilation fails
because the font does not exist.
2022-01-19 16:24:22 +01:00
Tobias Hunger
2f6be7b31f
Mass-add copyright headers into Cargo.toml files
2022-01-19 11:25:21 +01:00
James Blacklock
7ad1ba209d
Add support for array index expressions
...
This is a squash of the changes in
https://github.com/sixtyfpsui/sixtyfps/pull/605
2022-01-14 13:38:25 +01:00
Tobias Hunger
32cd9ccab2
Document delay
property on PropertyAnimation
2022-01-11 20:58:26 +01:00
Simon Hausmann
eee5062e75
Small grammar fixes in the docs
2022-01-10 18:37:50 +01:00
Jared Moulton
c5c139fbc9
Feat: Add math funcs Log10, Log2, Log and Exp ( #813 )
...
Implement Math.log and Math.pow
2022-01-07 12:07:58 +01:00
Olivier Goffart
5891d006b1
Add a paragraph about when property are re-evaluated
...
As discussed in #769
2022-01-03 11:40:03 +01:00
Olivier Goffart
cdfac0574b
Fix typo
2022-01-02 20:38:36 +01:00
Be
9939425834
docs: minor improvements for layout docs
2021-12-24 23:49:29 +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
Simon Hausmann
37f7b8f786
Add a note about the scale factor only applying to the GL backend atm
2021-12-21 09:09:59 +01:00
Simon Hausmann
f08c4dfccb
Add a debugging techniques page to the C++ and Rust documentation
...
This is listed under the reference ("how to") and explains `SIXTYFPS_SLOW_ANIMATIONS`, SIXTYFPS_DEBUG_PERFORMANCE` as well as `SIXTYFPS_SCALE_FACTOR`.
cc #728
2021-12-21 09:09:59 +01:00
Frederick Vollbrecht
12c0ef38fb
Typos: repeating words in documentation, across the repository ( #753 )
...
* fixed typo in image.rs
* unnecessary repeated words in sixtyfps_runtime
* unnecessary repeated words in sixtyfps_compiler
* unnecessary repeated word in docs
* unnecessary repeated words in helper_crates
2021-12-19 17:40:45 +01:00
Olivier Goffart
df22b65107
Apply suggestions from code review
...
Co-authored-by: Simon Hausmann <simon.hausmann@sixtyfps.io>
2021-12-10 11:28:09 +01:00
Olivier Goffart
f7c92183db
Add a Keys
namespace in the .60 language with all the string constant for special keys
2021-12-10 11:28:09 +01:00
Olivier Goffart
963c44fd78
Put the global functions also in the Math namespace
...
So they can be accessible even if there is a property of the same name
2021-12-08 16:35:11 +01:00
Olivier Goffart
0436ce2399
Allow to access color names form the Colors namespace
2021-12-08 16:35:11 +01:00
Lukas Jung
70d71e7c59
Add documentation for mouse-cursor
2021-12-07 22:41:24 +01:00
Olivier Goffart
0e5295aa33
Some more improvments to the Flickable docs
...
Complete #716
2021-12-06 12:08:20 +01:00
Jared Moulton
63fd204dda
Update the Flickable and ScrollView docs...
...
...to include mention that the default is for the viewport dimensions to
be calculated automatically and add properties and and an example to the
Flickable docs
2021-12-06 11:59:09 +01:00
Jared Moulton
a3c0771a2a
Update Flickable and ScrollView docs...
...
...to include information about having to manually set the
viewport-width and viewport-height when using a for loop to instantiate
elements.
2021-12-06 11:59:09 +01:00
Simon Hausmann
cba553b9f7
Small grammar fixes
2021-11-26 13:46:20 +01:00
Olivier Goffart
d1883b53f3
Update install_qt.md
2021-11-26 13:21:58 +01:00
Simon Hausmann
c1cb648972
Polish the Qt setup docs
...
Clarify the setup for macOS and Windows, and refer to `bin` in the generic section for qmake.
2021-11-26 13:09:12 +01:00
Simon Hausmann
55e4068707
Fix typo
2021-11-26 13:02:30 +01:00
ogoffart
3278b39549
Bump version number to 0.1.6
2021-11-24 14:19:09 +00:00
Olivier Goffart
a3df480650
Revert "Adjust the URL in the documentation to the released version"
...
This reverts commit 2904b7ad6d
.
The release was done
2021-11-24 15:18:23 +01:00
Olivier Goffart
2904b7ad6d
Adjust the URL in the documentation to the released version
2021-11-24 14:13:30 +01:00
Olivier Goffart
abed31454c
Update version number in docs in preparation for the release
2021-11-24 14:10:16 +01:00
Simon Hausmann
42477db3e3
In the C++ prerequisites, link to the cmake website
...
It's easier that way :-)
2021-11-24 13:02:08 +01:00
Olivier Goffart
7a88902d4e
Fix once more the description of @image-url in the tutorial
...
PR #669 changed the wording, but the tutorial uses the sixtyfps! macro
for which that wording was fine.
Instead, be more explicit about chere the file is looked up in both situation
2021-11-23 11:18:02 +01:00
Jared Moulton
799dbff366
Fix the description of where @image-url looks for files
2021-11-23 08:34:32 +01:00
Olivier Goffart
9401bfbec7
Rust test driver: Add a feature to generate the rust code in build.rs
...
instead of in the sixtyfps! macro, so se actually see where the error is in
the generated code.
This also expose a bunch of warning that were not being taken care on.
2021-11-05 11:35:56 +01:00
Simon Hausmann
4800217f2f
Document the minimum supported Rust version
...
cc #622
2021-11-03 16:39:41 +01:00
Olivier Goffart
72f022b3ed
Document the test harness
2021-10-26 14:51:23 +02:00
ogoffart
b25ae6fbcd
Bump version number to 0.1.5
2021-10-26 07:36:54 +00:00
Olivier Goffart
ce65e7871c
Update the GIT_TAG in the readme
2021-10-22 16:51:25 +02:00
Olivier Goffart
043a58a5f0
Revert "Set the documentation URL to the latest release"
...
This reverts commit ec61c969f0
.
2021-10-22 16:50:48 +02:00
Olivier Goffart
d194e18f99
Update the version number in the .md files
2021-10-22 16:09:02 +02:00
Olivier Goffart
ec61c969f0
Set the documentation URL to the latest release
2021-10-22 16:06:07 +02:00
Olivier Goffart
efd0aee6ec
Docs: remove the wording about the limitation that length does not track the model
...
Was solved in #599
2021-10-20 15:29:15 +02:00
Olivier Goffart
6c677d13ac
Document the new lenght
properties on arrays
...
CC #580
2021-10-18 10:29:50 +02:00
Simon Hausmann
e3ce136106
Provide a modern introduction to the language reference
2021-10-13 10:38:05 +02:00
Olivier Goffart
ae5f19e60f
Fix typo
2021-10-13 09:44:56 +02:00
Simon Hausmann
f7193d2c53
Mention DYLD_FRAMEWORK_PATH
in the Qt install docs
...
cc #566
2021-10-13 09:14:59 +02:00
Simon Hausmann
db60a5c4e1
Provide a slightly simpler language reference intro sentence
2021-10-12 10:30:46 +02:00
Olivier Goffart
f0f264a94a
Document the ternary operator
...
CC: https://github.com/sixtyfpsui/sixtyfps/discussions/562
2021-10-11 10:49:45 +02:00
Robert Broketa
c3c7765f80
Add no-frame
property for a borderless/frameless window
2021-10-11 10:21:21 +02:00
Olivier Goffart
98e1bb19db
Document the current-index property of the TabWidget
2021-10-07 12:21:11 +02:00