Commit graph

52 commits

Author SHA1 Message Date
Tobias Hunger
b12575a4c4 janitor: Go over our spell checking setup
* Extend the cspell word list
* Remove those extensions from individual source files
* white-list licenses and such as we should not meddle with those
* Fix spelling
2023-10-16 09:01:51 +02:00
Simon Hausmann
5c9eed62f1 Add a new backend that supports rendering fullscreen with Vulkan
This doesn't require a windowing system, just Linux and Vulkan drivers
that supports the display extensions.

It's called linuxkms as soon this will go beyond Vulkan and also support
EGL and perhaps dumb buffers for software rendering.
2023-07-28 13:40:37 +02:00
Olivier Goffart
3a807e46c1
Renderer feature refactor 2023-07-27 19:11:24 +02:00
Aurindam Jana
5a4a7fee63
Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
Olivier Goffart
036362c07a Publish the tr-extractor 2023-06-26 14:44:46 +02:00
Olivier Goffart
11dea135f7 Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
Tobias Hunger
04d1229685 Fix licnese information using xtask 2023-06-16 09:14:20 +02:00
Olivier Goffart
44ddb28fdc More prospective nightly build fixes 2023-06-04 10:56:26 +02:00
Olivier Goffart
73162e0a69 CI: Attempt to run cargo about only for the given package 2023-06-02 10:06:50 +02:00
Simon Hausmann
3d0c313357 Fix cargo-about
Add permissive WTFPL to list of accepted licenses
2023-06-02 07:57:52 +02:00
Simon Hausmann
6d968aa329 Extract the FemtoVG renderer into a separate crate
This will be needed for a future experiment. Unlike the Skia renderer,
which operates on raw window handles, the FemtoVG renderer exposes a
different interface where it assumes that the caller takes care of the
OpenGL context state. This means more boilerplate remains in the winit
backend, including the glutin dependency. The upside is that it will
allow using the FemtoVG renderer in environments without glutin.

In order to work in an environment without fontconfig or memmap, the
crate has two features:

  - fontconfig (set when we anticipate fontconfig to be available at
    run-time and libloading being available at compile time).
  - diskfonts (set when we want to be able to load fonts from disk)

The winit crate enables fontconfig on "Linux" and diskfonts on !wasm.
2023-03-06 11:45:28 +01:00
Simon Hausmann
cdb2f92ee9 Fix cargo-about for binary packages, part 2
Accept the openssl license, that's pulled in via the new dependency to
ring.

In reality this doesn't truly affect the binaries we distribute (as this
primarily comes in either as build dependency (skia) or for the energy
monitor via ureq.
2023-02-24 14:25:49 +01:00
Simon Hausmann
2e7d3a6b38 CI: Fix one part of cargo-about failing on webpki
Filter NOASSERTION, as explained in
https://github.com/EmbarkStudios/cargo-about/pull/216 (by the example of
webpki as well).
2023-02-24 14:21:30 +01:00
Simon Hausmann
494f69480c Add command to publish the syntax updater 2023-02-21 10:36:40 +01:00
Simon Hausmann
1bd0e479c7 Declare the Slint VS code extension as stable
... and not preview anymore, for releases.
2023-02-09 10:22:34 +01:00
Simon Hausmann
9a1fa52c23 Add the skia renderer crate to the publish script 2022-12-09 17:07:15 +01:00
Olivier Goffart
ea0de6878d Release script: add a sleep
i_slint_core compiled too fast, and the compiler was still not on
crates.io when trying to build the macro
2022-10-28 11:12:03 +02:00
Olivier Goffart
b82710870a Fix publishing script 2022-09-14 16:02:55 +02:00
Simon Hausmann
7b6d05659f
Accept Unicode-DFS-2016 for cargo about
These were missing in Cargo.toml of the unicode-ident crate but were now added.

Prospective partial fix for failing nightly.
2022-07-16 09:26:52 +02:00
Olivier Goffart
3949045e1b Rename the editor folder to editors 2022-06-27 17:44:46 +02:00
Olivier Goffart
83275640a4 Add a sleep in the publish script to throttle things a bit
The compiler crates depends on the common crates which might not be available
yet because of the crates.io cache
2022-03-10 09:46:04 +01:00
Tobias Hunger
6c7b070079
Create editor folder (#999)
Add an `editor` folder

... and move all documentation, configuration files, plugins, etc. for different editors there.
2022-03-02 20:21:24 +01:00
Olivier Goffart
66a7b55c9e Fix the feature name in the build script 2022-02-10 09:13:17 +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
Olivier Goffart
3594c20153 Replace SixtyFPS in many locations (Uppercase) 2022-02-02 15:49:18 +01:00
Tobias Hunger
ee5ae56c4a
Move api/sixtyfps-rs to api/rs/slint (no crate rename!) 2022-02-02 13:26:34 +01:00
Tobias Hunger
842f75e653 [reorg]: Move api/sixtyfps-rs/sixtyfps-* into api/rs 2022-01-31 18:24:33 +01:00
Tobias Hunger
a3b86690ff [reorg]: Move the rendering backends into internal 2022-01-31 16:00:50 +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
007d992ea9 Fix the publish script:
- build corelib_macros between common and the compilerlib so that the
   crates.io cache has time to propagate
 - add a feature to the default backend otherwise it doesn't compile
2022-01-21 10:52:45 +01:00
Tobias Hunger
bfca0e3573 Mass update copyright messages to be more REUSE compliant 2021-12-22 10:06:12 +01:00
Simon Hausmann
e0a942dc1c Avoid the use of symlinks for source files
On Windows 10, the creation of symlinks by normal users requires
enabling the developer mode, which may or may not be acceptable in
corporate environments with restricted IT setups.

We introduced the symlinks for the shared special key codes mapping,
which instead this patch places into a shared sixtyfps-common crate.
2021-12-13 15:51:10 +01:00
Simon Hausmann
f7f4797171 Include cargo-about info also in the non-windows packages
... by calling prepare_binary_package.sh on all platforms, but only
include the Qt license attribution where we bundle it.
2021-11-23 23:16:24 +01:00
Simon Hausmann
6547979b89 Remove unused parameters from packaging prep script 2021-11-23 23:16:24 +01:00
Olivier Goffart
921f5675d6 Put the licenses in the C++ binary package
Note that this also change the path names to "licenses" in the viewer package
2021-11-18 19:20:25 +01:00
Olivier Goffart
ee1febc8f7 Fix the path in the .tar.gz 2021-10-22 14:44:51 +02:00
Olivier Goffart
18ce1087d5 Hardcode the Qt license
Because the install qt github action does not install the documentation
2021-10-22 14:32:17 +02:00
Olivier Goffart
24cccfb9bb Use cargo-about to generate the attributions from Qt crates 2021-10-22 14:32:17 +02:00
Olivier Goffart
422b90d612 Generate an index.html instead of a index.md 2021-10-22 14:32:17 +02:00
Simon Hausmann
4b321579c2 Fix links in generated index.md
Somehow the empty link didn't work.
2021-10-22 11:59:38 +02:00
Simon Hausmann
675e4bb850 Explain what the script does and centralize index.md 2021-10-22 11:55:56 +02:00
Simon Hausmann
7833e7a9b7 Initial helper script to collect license info for binary package 2021-10-22 11:41:34 +02:00
Olivier Goffart
a1069e94f0 Fixup the publish script
the GL bakcend don't compile alone without specifying a feature
2021-10-06 15:55:05 +02:00
Tobias Hunger
aea4ecca99 Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
Olivier Goffart
13bd828b96 Update license date 2021-07-02 15:55:54 +02:00
Rishabh Budhiraja
74727d953f
Renames viewer to sixtyfps-viewer and publishes it on crates.io (#237)
* Renames viewer to sixtyfps-viewer and publishes it on crates.io

* Maintain the directory name consistency
2021-05-22 08:34:50 +02:00
Olivier Goffart
a12436a253 Add sixtyfps-lsp in the publish script 2021-04-27 17:38:27 +02:00
Simon Hausmann
8bba02ea07 Abort the nightly prepare script if there are local modifications 2021-04-15 14:57:15 +02:00
Simon Hausmann
dc8bfb6c76 Helper script to prepare README/json files for a nightly package 2021-04-15 12:12:07 +02:00
Olivier Goffart
9f93968c66 Fix the publish to crate.io script 2021-01-29 18:19:21 +01:00