Commit graph

24 commits

Author SHA1 Message Date
Nigel Breslaw
b36a66e405
Enable more js/tsc biome rules
noUselessConstructor
useNodejsImportProtocol
noImplicitAnyLet
2024-09-13 10:04:39 +02:00
Tobias Hunger
f1da741c8c vscode: Apply biome fixes
No manual change in this PR at all, just the result of
`npm run lint:fix`.
2024-09-12 15:03:04 +02:00
Nigel Breslaw
1d434ad242
Turn on syntax, linting and code formatting checks for the VSCode project
Enables the following checks for the editors/vscode extension project on CI:
- Typescript syntax checking.
- Code formating (biome).
- Code linting (biome).

Documents usage in Readme.md
2024-08-26 17:59:13 +02:00
Simon Hausmann
589aeec4f7 Reduce size of VS code extension production builds
Follow basically the steps of https://code.visualstudio.com/api/working-with-extensions/bundling-extension#using-esbuild to
minify the JS and omit source maps.
2024-08-26 14:58:18 +02:00
Nigel Breslaw
fe55b0cb32
refactor: Tidy the vscode project (#5936)
Removed unused images.
Sets NPM versions to exact version e.g 8.2.1, not ^8.0.0. (prepare for dependabot).
Update all dependencies.
Use npm clean-install instead of npm install. This means an up to date package-lock.json file must exist in the project. Ensuring local development and the CI are repeatable builds that use the same dependency packages.
2024-08-26 12:04:49 +02:00
Tobias Hunger
1e7b3a6958 slintpad/vscode: Remove the TS-based Property Editor
The one in the Preview is better already, so remove the two copies of a property
editor we used to have.
2024-07-11 10:40:46 +02:00
Aurindam Jana
3523e86359
Simplify commercial license (#3063)
Base the commercial license on the Royalty-free license adding clauses pertaining to the fees.
2024-05-31 14:06:17 +02:00
Aurindam Jana
9a3aa265d5
Update Royalty-free license (#5257)
Add clarification that Application may not expose Slint APIs.
2024-05-31 10:53:19 +02:00
Aurindam Jana
0cfeec1a31
Update Slint Community License (#4994)
Updated the version from 1.1 to 1.2 
Renamed the header to "Slint Royalty-free Desktop, Mobile, and Web Applications License"
Added definition of "Mobile Application" and grant of right
Moved "Limitations" to 3rd section and "License Conditions - Attributions" to 2nd section
Added flexibility to choose between showing "MadeWithSlint" as a dialog/splash screen or on a public webpage
Moved the para on copyright notices to section under "Limitations"
2024-04-15 15:18:55 +02:00
Tobias Hunger
f6f369251b Revert "vscode: Use ESM modules"
Using ESM modules causes issues with the web extension: It complains
about use of "ImportScript" in a module. Something adds that into the
module, I need to properly investigate what and why. Let's revert this
till then.

This reverts commit cb66bc1650.
2023-10-19 15:01:46 +02:00
Tobias Hunger
cb66bc1650 vscode: Use ESM modules
A vscode extension must use CJS, but that code may use ESM modules in
turn.

So update to ESM, fixing a warning when importing our WASM code.
2023-10-17 10:28:30 +02:00
Aurindam Jana
5a4a7fee63
Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
Olivier Goffart
11dea135f7 Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
Aurindam Jana
039e54a5de
Add royalty free license to files except examples and docs (#2888) 2023-06-15 11:20:50 +02:00
Simon Hausmann
b48c5a4cdb
Specify target platform for esbuild calls for vs code extension (#1924)
This patch has no effect on the currently generated output (apart from a
dummy few lines in out/extension.js), but may help to avoid issues in
the future like we had last week, where esbuild processed an import from
"vscode-languageclient" and due to browser mode it picked the browser
version of the languageclient for out/extension.js that's running in the
node environment.
2022-11-29 09:42:54 +01:00
Tobias Hunger
9845f47d8e Revert "Dont add vscode-languageclient in the externals"
This reverts commit e940c4316d.
2022-11-26 19:45:56 +01:00
Olivier Goffart
e940c4316d Dont add vscode-languageclient in the externals 2022-11-26 14:16:34 +01:00
Tobias Hunger
6abbaf2df4 Revert "vscode extension: Fix local build"
This reverts commit 22b54b72f0.
2022-11-25 17:34:32 +01:00
Olivier Goffart
22b54b72f0 vscode extension: Fix local build 2022-11-25 08:47:56 +01:00
Tobias Hunger
2a351c1727 Reformat vscode 2022-11-22 11:32:17 +01:00
Olivier Goffart
cf71b181a3 vscode extension: Share the properties view adaptation with the web extension 2022-11-03 13:15:45 +01:00
Olivier Goffart
6e2e2f0217 vscode extension: implements the property view 2022-11-03 13:15:45 +01:00
Olivier Goffart
a8ee3ca710 vscode extension: move browser-language-server/browserServerMain.ts
It doesn't need to be in a different folder with a different
package.json
2022-11-01 16:49:03 +01:00
Olivier Goffart
3949045e1b Rename the editor folder to editors 2022-06-27 17:44:46 +02:00
Renamed from editor/vscode/esbuild.js (Browse further)