Commit graph

90 commits

Author SHA1 Message Date
Olivier Goffart
9bb61b8ec6 Revert "Prepare 1.3.2 release"
This reverts commit 1d41f0b402.

Release is done
2023-12-01 14:51:58 +01:00
Olivier Goffart
1d41f0b402 Prepare 1.3.2 release 2023-12-01 09:11:02 +01:00
Olivier Goffart
f07e05c08b Revert "Prepare for 1.3.1 release"
This reverts commit 76009f199d.

Release is done
2023-11-28 10:26:00 +01:00
Olivier Goffart
76009f199d Prepare for 1.3.1 release 2023-11-28 09:22:48 +01:00
Olivier Goffart
cec9818123 Revert "Prepare for 1.3.0 release"
This reverts commit e63720b341.

Release was done, this can be removed
2023-11-10 11:04:33 +01:00
Olivier Goffart
e63720b341 Prepare for 1.3.0 release
add Cargo.lock and set the version number in the docs
2023-11-10 08:22:56 +01:00
Simon Hausmann
06feaa4a9d Improve wasm preview on mobile
Place the preview into an item in a flexbox after the source code, so that it wraps
around on mobile.

Fixes #3389
2023-09-06 09:02:42 +02:00
Simon Hausmann
bf4acc24ca Revert "Prepare for release: add Cargo.lock and set the version number in the docs"
This reverts commit e5c778b920.
2023-09-04 13:40:25 +02:00
Simon Hausmann
e5c778b920 Prepare for release: add Cargo.lock and set the version number in the docs
We add the Cargo.lock for the release so that the tagged commit has it,
this will be usefull for the C++ users who build from source with a
tagged version of slint. Because we want to reduce the likelyhood that
they get compilation error in a dependent crate

This will be reverted after the release.
2023-09-04 10:34:41 +02:00
Simon Hausmann
f328b394f8 Re-enable docs preview on Safari by default
Each widget has its own page now in the Slint reference, so
load times should be better now.
2023-08-30 14:32:39 +02:00
Olivier Goffart
967a57e430 Revert "Prepare for release"
This reverts commit cbc6cfed5b.
2023-07-10 11:10:10 +02:00
Olivier Goffart
cbc6cfed5b Prepare for release 2023-07-10 10:30:06 +02:00
Olivier Goffart
e1c651d5df Revert "Prepare for release by changing the URL in slint-docs-preview.html"
This reverts commit b1a01fb05a.

Release is done
2023-06-26 14:47:55 +02:00
Olivier Goffart
b1a01fb05a Prepare for release by changing the URL in slint-docs-preview.html
Note that the Cargo.lock which is usually part of this commit was done
in a previsous commit
2023-06-26 12:42:11 +02:00
Olivier Goffart
11dea135f7 Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
Simon Hausmann
401a6dda4d
Fix preview in SlintPad and VS code web extension (#2871)
The interpreter now creates the window typically in show(), so similar
to commit a8fcb5acd6 make show() return a
promise and invoke show() from within the event loop.

Amends d98c6773e1
2023-06-13 16:29:43 +02:00
Simon Hausmann
a8fcb5acd6 Fix delayed docs preview not working
After commit 7df902b53c, the winit window
is not created when calling show() anymore but it's now created at
component creation time.  That means the event loop workaround removed
in 459f810bd8 is now needed at
construction time.

Since this is a winit and wasm specific issue, it's now dealt with in
the wasm interpreter implementation, by invoking the creation from the
event loop from there and returning a promise in the API.

This changes the API therefore: create() can only be called after the
event loop is running.
2023-06-01 16:51:12 +02:00
Olivier Goffart
c8b4b92ccc Revert "Prepare for 1.0.2 release"
The release is done

This reverts commit 30d0b11c1d.

 Conflicts:
	Cargo.lock
2023-04-26 13:19:07 +02:00
Olivier Goffart
30d0b11c1d Prepare for 1.0.2 release 2023-04-26 10:52:24 +02:00
Olivier Goffart
cfe0298b78 Revert "Prepare for release"
This reverts commit 9b53e5ab37.

Release is done
2023-04-20 15:19:30 +02:00
Olivier Goffart
9b53e5ab37 Prepare for release
We add the Cargo.lock for the release so that the tagged commit has it,
this will be usefull for the C++ users who build from source with a
tagged version of slint. Because we want to reduce the likelyhod that
they get compilation error in a dependent crate

This will be reverted after the release.
2023-04-20 13:45:51 +02:00
Simon Hausmann
ef2120bd0a Revert "Prepare for release: add Cargo.lock and set the version number in the docs"
This reverts commit 0cc9a87048.
2023-04-03 14:33:08 +02:00
Olivier Goffart
0cc9a87048 Prepare for release: add Cargo.lock and set the version number in the docs
We add the Cargo.lock for the release so that the tagged commit has it,
this will be usefull for the C++ users who build from source with a
tagged version of slint. Because we want to reduce the likelyhod that
they get compilation error in a dependent crate

This will be reverted after the release.
2023-04-03 07:42:44 +02:00
Simon Hausmann
4af7ea8ab7 Switch to the Furo theme for the Slint Language and C++ documentation 2023-03-23 09:34:16 +01:00
Simon Hausmann
89f5344b6b Disable automatic example preview in the docs for Safari 2023-03-22 12:42:41 +01:00
Tobias Hunger
42d1fbdbcf
docs: Use it's, etc. more consistently (#2287) 2023-02-24 17:42:22 +01:00
Simon Hausmann
be74363a56 doc: Remove the code snippet selection
All the snippets are now in the common sphinx "book", where we don't
know about the target language anymore. So for now let's let the user
expand the details tag based on what they want.

We can resurrect this code from the archive later if needed.
2023-02-23 14:59:27 +01:00
Tobias Hunger
6e6d8f2d48 docs: Update highlight definition
Add new 1.0 keywords into highlight definition, sort keywords and remove
duplicates.
2023-02-08 14:20:18 +01:00
Olivier Goffart
a7239bb236 Revert "Prepare for release"
This reverts commit 515f069317.
2023-01-25 15:22:48 +01:00
Olivier Goffart
515f069317 Prepare for release
add Cargo.lock and set the version number in the docs

We add the Cargo.lock for the release so that the tagged commit has it,
this will be usefull for the C++ users who build from source with a
tagged version of slint. Because we want to reduce the likelyhod that
they get compilation error in a dependent crate

This will be reverted after the release.
2023-01-25 13:04:59 +01:00
Olivier Goffart
5bf97c09dd Revert "Prepare for release: add Cargo.lock and set the version number in the docs"
Release done

This reverts commit 29b17fd109.
2022-12-16 10:35:29 +01:00
Olivier Goffart
29b17fd109 Prepare for release: add Cargo.lock and set the version number in the docs
We add the Cargo.lock for the release so that the tagged commit has it,
this will be usefull for the C++ users who build from source with a
tagged version of slint. Because we want to reduce the likelyhod that
they get compilation error in a dependent crate

This will be reverted after the release.
2022-12-16 09:32:55 +01:00
Olivier Goffart
70efe0c573 Revert "Prepare for release: add Cargo.lock and set the version number in the docs"
This reverts commit 0e3c43f332.

Release was released
2022-11-28 14:13:26 +01:00
Simon Hausmann
7ebc84a0cb Fix accidental scrollbar in doc preview in C++ docs
Remove accidental padding on the "buttons" (that was from an earlier attempt
at styling the links as buttons).
2022-11-28 13:21:07 +01:00
Simon Hausmann
affdda2ce2 doc: Fix no-auto-preview with C++ docs
We need to explicitly match the divs that have now no-auto-preview in their class name
2022-11-28 13:11:59 +01:00
Olivier Goffart
0e3c43f332 Prepare for release: add Cargo.lock and set the version number in the docs 2022-11-28 11:55:48 +01:00
Simon Hausmann
0bd21f4e56
Use click-to-play for preview of examples and recipes (#1919)
By using a persistent WebGL context for reach (small) preview, we hit
the browser imposed limits on the number of GL contexts quickly.  This
change add support to pt out of the automatic enabling of the preview
via no-auto-preview, that's selected for recipes.
2022-11-28 11:49:53 +01:00
Olivier Goffart
fea2f8df37 Docs: fix the no-preview tag
That tag is added in a bunch of places, but was not working (the preview
was still shown)
2022-11-28 10:54:30 +01:00
Olivier Goffart
4b3b96712a Revert "Prepare for release: add Cargo.lock and set the version number in the docs"
This reverts commit a8f93de554.

The release is done.
2022-10-28 11:13:07 +02:00
Olivier Goffart
a8f93de554 Prepare for release: add Cargo.lock and set the version number in the docs
We add the Cargo.lock for the release so that the tagged commit has it,
this will be usefull for the C++ users who build from source with a
tagged version of slint. Because we want to reduce the likelyhod that
they get compilation error in a dependent crate

This will be reverted after the release.
2022-10-28 09:42:20 +02:00
Olivier Goffart
0186c717c3 Revert "Update docs url before release"
This reverts commit 2583acfc67.

Release was released
2022-09-14 16:34:57 +02:00
Olivier Goffart
2583acfc67 Update docs url before release 2022-09-14 14:50:29 +02:00
Olivier Goffart
4a6de71c59 Revert "Change doc URL for the release"
This reverts commit 0ddca89f3b.

The release is done, go back to master
2022-07-06 11:54:09 +02:00
Olivier Goffart
8dfec21b30 docs: Actually fix md links containing anchors 2022-07-06 10:10:20 +02:00
Olivier Goffart
9f78674124 Fix links to enums in the docs
The JS was fixing links to `*.md` files, but not `*.md#foo`
2022-07-06 09:39:54 +02:00
Olivier Goffart
0ddca89f3b Change doc URL for the release 2022-07-06 09:32:32 +02:00
Olivier Goffart
c82cd24f36 Revert "slint-docs-preview.html: adjust URL for the release"
This reverts commit a621365468.
2022-05-09 18:14:51 +02:00
Olivier Goffart
a621365468 slint-docs-preview.html: adjust URL for the release 2022-05-09 17:33:59 +02:00
Olivier Goffart
3e2f4a60ba Revert "slint-docs-preview.html: Update URL for the release"
This reverts commit c1b6ac258b.
2022-05-09 15:48:31 +02:00
Olivier Goffart
c1b6ac258b slint-docs-preview.html: Update URL for the release 2022-05-09 14:52:10 +02:00