Olivier Goffart
9b99b558ae
Spellcheck
2021-07-01 13:54:26 +02:00
Olivier Goffart
894a369737
C++: Fix warnings on windows
...
Unproperly escaped path with slashes
2021-07-01 13:50:27 +02:00
Olivier Goffart
fe81590b07
Silence a bunch of MSVC warnings
2021-07-01 13:47:22 +02:00
Simon Hausmann
01e94ccdbb
C++ docs: Shorten the API reference title
2021-07-01 13:41:51 +02:00
Simon Hausmann
38ae2eb872
C++ docs: change the order of topics slightly
...
Move the C++ type mapping towards the end and the
example generated code at the end.
2021-07-01 13:41:51 +02:00
Olivier Goffart
67a4260beb
Add one word in the spell whitelist
...
and use the proper config file
2021-07-01 13:37:55 +02:00
Olivier Goffart
2142c3718a
Experiment with a spellcheck github action
2021-07-01 13:15:10 +02:00
Simon Hausmann
4662222556
C++ docs: more intro touch-ups
...
Don't mention the tutorial twice, and there's no need to line to the online docs.
The latter makes sense in the GitHub README, but not in the docs themselves.
Would be nice to fold this "intro" somehow right into the contents
though, without a sub-page. Or the intro becomes bigger with more
references.
2021-07-01 13:06:47 +02:00
Simon Hausmann
af0215eca4
C++ docs: remove pre-alpha notice
...
We're at version 0.1.0 now :-)
2021-07-01 13:06:47 +02:00
Olivier Goffart
0d9daa1964
C++: silence a few conversion warnings with MSVC
2021-07-01 13:04:25 +02:00
Simon Hausmann
9fc81da862
C++ docs: mention show/hide in the generated code
2021-07-01 13:02:40 +02:00
Simon Hausmann
2440d92c6e
C++ docs: One more small cmake touchup
...
Typo fix and match the order of cmake commands with the list in the docs earlier.
2021-07-01 12:59:47 +02:00
Simon Hausmann
ca0dff21b3
Minor touchup to the usage
...
and link to FetchContent docs
2021-07-01 11:37:13 +02:00
Simon Hausmann
88b8be0da5
A few cspell tweaks for markdown docs
2021-07-01 11:21:38 +02:00
Simon Hausmann
5b1be43952
C++ docs: Join building and cmake usage section
2021-07-01 11:17:48 +02:00
Simon Hausmann
6b8073983f
C++ docs: Move cmake usage into a separate top-level topic
...
... which is to be expanded further subsequently
2021-07-01 10:46:53 +02:00
Simon Hausmann
317111ef2b
Small drive-by typo fixes
2021-07-01 10:31:36 +02:00
Simon Hausmann
888a1296fe
Switch the markdown processor for C++ to myst_parser
...
According to https://github.com/readthedocs/recommonmark/issues/221
recommonmark is being phased out and myst_parser is actively maintained.
2021-07-01 10:30:51 +02:00
Olivier Goffart
1b9b583e3c
Move the published editor and wasm-interpreter to the snapshots directory
2021-07-01 10:12:53 +02:00
Olivier Goffart
d51ea1429d
Online editor: check the url to load from a branch
2021-07-01 09:42:25 +02:00
Simon Hausmann
19d4fa17ab
Publish dev docs builds to snapshots/$branch/docs
2021-07-01 08:37:08 +02:00
Simon Hausmann
2646f442b5
C++: Replace the "quick tutorial" from the README with a reference to the walk-through
2021-07-01 08:29:12 +02:00
Simon Hausmann
8289a3f576
Various cspell additions for the rst docs
2021-07-01 08:22:47 +02:00
Simon Hausmann
34f1838a37
Begin folding the C++ readme into the C++ docs
...
This just integrates a copy first, which is to be split up subsequently.
2021-07-01 08:22:30 +02:00
Simon Hausmann
1733b08b38
Remove plaster demo copying from slide puzzle demo again
...
We used to load the ttf via xhr/fetch off the web, but since a while ago we
use import in the .60 and therefore build the .ttf into the binary.
2021-06-30 22:30:43 +02:00
Simon Hausmann
4dba8f0d74
Fix missing plaster font in slide-puzzle demo
2021-06-30 22:27:06 +02:00
Simon Hausmann
035dfc3d1f
A few harmless spelling fixes
2021-06-30 22:14:10 +02:00
Simon Hausmann
9f69fe09d8
Add an initial cspell file
...
This can be organically extended on the fly
2021-06-30 22:13:22 +02:00
Simon Hausmann
1ab9189fd9
Prospective fix for demo publish for loop
...
Also determine the target branch from the github ref
2021-06-30 21:57:56 +02:00
Simon Hausmann
fef34b66c2
Simplify demo upload
...
Use a for loop
2021-06-30 21:36:45 +02:00
Simon Hausmann
cb5dbbe12f
Fix mkdir path
2021-06-30 20:07:55 +02:00
Simon Hausmann
c26de7a017
Move the development demos to snapshots/master/demos/
...
Next I'll try to find a way to avoid hardcoding the branch name and shorten the paths,
but for now this should avoid accidental overwriting of the demos
of the release.
2021-06-30 19:00:35 +02:00
Simon Hausmann
b314bc9789
Fix up docs preview integration for dev builds
...
Use the wasm interpreter from the dev branch for dev docs
2021-06-30 18:49:04 +02:00
Olivier Goffart
423656d900
Update some more version number
...
Meaning that following the docs or tutorial won't work until the release is complete
2021-06-30 17:21:38 +02:00
Simon Hausmann
05aae8339c
Bump changelog date
2021-06-30 17:21:12 +02:00
Olivier Goffart
35e20763a7
More replacement of &*std::begin
with std::data
...
Complement the previous commit.
It is not ok to call *std::begin for an empty vector.
Also added a test for it.
2021-06-30 17:10:58 +02:00
Simon Hausmann
76eeabd216
Try to fix the auto-play checkbox with DejaVu
...
Amend b4955d2415
as the checkbox needs to scale
down a bit more with DejaVu.
2021-06-30 17:09:34 +02:00
Simon Hausmann
2662858a71
Fix assert with MSVC when deleting last item in C++ built printer demo
...
The generated code tries to compute the box layout info for an empty
repeater, where we end up calling `&*std::begin(cells)` and MSVC
asserts that this is dereferencing an invalid iterator. As Olivier spotted,
`std::data` comes to the assert-free rescue :-)
2021-06-30 17:03:28 +02:00
Simon Hausmann
cec7dde6e6
Small typo fixes
2021-06-30 16:12:39 +02:00
Simon Hausmann
b4955d2415
Fix shuffle and auto-play checkbox in slide puzzle
...
Text's behavior right now is to clip on a line basis, so with the given
font-size for these two elements, the glyphs aren't shown at all because
the ascent + descent that's use for the clip test is bigger than the
maximum height, despite the actual glyphs fitting.
For now, reduce the font-size slightly to make the glyphs fit.
2021-06-30 16:10:24 +02:00
Simon Hausmann
8dc6ee6fb1
Fix font fallback list on macOS with default family
...
Even with an empty font family we should produce a font fallback list, and we can.
Fixes the missing checkmark (when not affected by clipping).
2021-06-30 15:46:30 +02:00
Olivier Goffart
6ffe456fd8
Qt backend: use QChar::LineSeparator to split lines in a QTextLayout
...
That's better than re-layouting with setNumColumns
2021-06-30 13:33:19 +02:00
Olivier Goffart
5bbd4b1afb
Qt backend Text elision with word-wrap
2021-06-30 13:33:19 +02:00
Olivier Goffart
bc8bc616ed
GL backend: elide Text also when word-wrapping
...
In this case, the last line will have elipsis on the last line
when no more line can be printed
Note that the behavior is different with the Qt backend
2021-06-30 13:33:19 +02:00
Simon Hausmann
8a2b665498
Remove the note about nightly Rust again
...
Those who use nightly know likely what they're doing :-)
2021-06-30 11:27:27 +02:00
Simon Hausmann
5614f4c4c8
Mention minimum requirements for macOS
...
Unfortunately we require cmake right now, due to fontkit wanting to compile
in a copy of freetype. That could be fixed though by making it use
ttf_parser perhaps.
2021-06-30 11:27:27 +02:00
Olivier Goffart
b5f2bbe8bb
Mark code fragment as ignored in langref.md
...
With the nightly rust compiler, we include the langref.md in the
rust documentation, but we don't want these snippets to be understood
as rust code and tested
2021-06-30 09:23:57 +02:00
Simon Hausmann
ce8f5bda24
Mention additional basic Linux dependencies
2021-06-29 22:58:36 +02:00
Simon Hausmann
5b474ecac9
Recommend the use of stable over nightly :-)
2021-06-29 22:56:04 +02:00
Simon Hausmann
a0e827e200
Work around black window with vmware/glutin/windows10
...
Glutin's desire to default to srgb mysteriously creates a black window
on Windows 10 under Vmware. I tested this with many glutin apps and examples,
they all exhibit the same: black window,
working when query for srgb is turned off.
This used to work, so I suspect some change underneath on the vmware svga
driver perhaps, or Windows.
2021-06-29 22:53:48 +02:00